randexp.js icon indicating copy to clipboard operation
randexp.js copied to clipboard

bug about unicode set

Open bluelovers opened this issue 7 years ago • 2 comments

new RandExp(/\p{White_Space}/).gen() // => 'p{White_Space}'

bluelovers avatar May 06 '18 10:05 bluelovers

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 ''

'𛀀'
'𛀀'
'𛀀'
'𛀀'
''
''
'𛀀'
''
'𛀀'

bluelovers avatar May 09 '18 13:05 bluelovers

hi,

any progress with that?

tniemann avatar Feb 09 '21 10:02 tniemann