diff options
author | 2022-02-22 15:47:11 -0800 | |
---|---|---|
committer | 2022-02-22 15:47:11 -0800 | |
commit | dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864 (patch) | |
tree | 094f1617823b84956710a1a8c8a8d055e17f9a3d /integration/snippets/latin1-chars-in-regexp.js | |
parent | fbac824975d425dde279cd4b618aceb49c889d0d (diff) | |
download | bun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.tar.gz bun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.tar.zst bun-dfa3e19cbf1a4fefcad424b7a5a50569ce3d6864.zip |
snaspshots
Diffstat (limited to 'integration/snippets/latin1-chars-in-regexp.js')
-rw-r--r-- | integration/snippets/latin1-chars-in-regexp.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/integration/snippets/latin1-chars-in-regexp.js b/integration/snippets/latin1-chars-in-regexp.js index 9695b9362..e4d613f5e 100644 --- a/integration/snippets/latin1-chars-in-regexp.js +++ b/integration/snippets/latin1-chars-in-regexp.js @@ -8,9 +8,8 @@ // "g" // ); -var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; -var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; -var re_btou = new RegExp( +export var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g; +export var re_btou = new RegExp( [ "[\xC0-\xDF][\x80-\xBF]", "[\xE0-\xEF][\x80-\xBF]{2}", |