randexp.js
randexp.js copied to clipboard
bug about unicode set
new RandExp(/\p{White_Space}/).gen() // => 'p{White_Space}'
also not support \u{1B000}
anthor bug
pattern: '(?:[\\u30A1-\\u30FA\\u30FD-\\u30FF\\u31F0-\\u31FF\\u32D0-\\u32FE\\u3300-\\u3357\\uFF66-\\uFF6F\\uFF71-\\uFF9D]|\\uD82C\\uDC00)',
flags: 'u'
looks like wrong when rand, it only return 2 kind value '𛀀' and ''
'𛀀'
'𛀀'
'𛀀'
'𛀀'
''
''
'𛀀'
''
'𛀀'
hi,
any progress with that?