The currently proposed regular expressions use the \dmeta character, which is nowadays usually matching digits in the Unicode sense. So it does not only match ASCII 0-9, but also something like Devanagiri digits.
As this is obviously wrong just use plain old [0-9]instead.
Originally created by @rammi62 on GitHub (Dec 27, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/788
The currently proposed regular expressions use the `\d`meta character, which is nowadays usually matching digits in the Unicode sense. So it does not only match ASCII 0-9, but also something like [Devanagiri digits](https://en.wikipedia.org/wiki/Devanagari_numerals).
As this is obviously wrong just use plain old `[0-9]`instead.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @rammi62 on GitHub (Dec 27, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/788
The currently proposed regular expressions use the
\dmeta character, which is nowadays usually matching digits in the Unicode sense. So it does not only match ASCII 0-9, but also something like Devanagiri digits.As this is obviously wrong just use plain old
[0-9]instead.