3 ms·
> \d now matches Unicode digits such as ᭕ (a Balinese five) and ๓ (a Thai three). This sounds like a disaster waiting to happen.
by davemp 9y ago
> \d now matches Unicode digits such as ᭕ (a Balinese five) and ๓ (a Thai three).
This sounds like a disaster waiting to happen.
- perlancar3 9y agoIt has been like that since forever (at least since 5.10, 2007). To only match 0-9, use [0-9] or /\d/a (/a is available since 5.14, 2011).
- ab5tract 9y agoHow, exactly?