This RegExp is O(1) if the string is `SeqOneByteString` π ```js const isOneByte = !/[^\x00-\xff]/.test(str); ```
0 reposts0 likes
This RegExp is O(1) if the string is `SeqOneByteString` π ```js const isOneByte = !/[^\x00-\xff]/.test(str); ```
0 reposts0 likes