Inputmask icon indicating copy to clipboard operation
Inputmask copied to clipboard

Regex unicode categories cause RangeError: Maximum call stack size exceeded

Open Skipperwastaken opened this issue 2 years ago • 1 comments

Unicode categories such as \p{L} or \p{P} cause RangeError: Maximum call stack size exceeded Tested on Chrome 103.0.5060.134 and Edge 103.0.1264.71

Skipperwastaken avatar Jul 26 '22 09:07 Skipperwastaken

I'm having the same issue using the regex: "[0-9]*" with greedy set to true. Greedy false seems to work fine. It's working in 5.0.7-beta.17 but not working in latest version anymore. Tested on: https://jsfiddle.net/Sergiu_Morar/9xo7qr4L/12/

MSergiu7 avatar Aug 02 '22 12:08 MSergiu7

@Skipperwastaken ,

Support for unicode categories is added. See v5.0.8-beta.41

RobinHerbots avatar Sep 09 '22 10:09 RobinHerbots