This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Forked from https://gist.github.com/chrisveness/43bcda93af9f646d083fad678071b90a | |
License: MIT | |
This version at: https://gist.github.com/sohrabsaran/5f1260a5410ee38b9e88dc186af37f70 | |
Changes: | |
1. Fixed regex bug in ctStr.match (fixed later in the original in https://gist.github.com/chrisveness/43bcda93af9f646d083fad678071b90a/revisions#diff-d559f25d942e0fc455a7207c04b00d94) | |
2. Added polyfill for TextEncoder | |
*/ | |
/** |