Actions
Bug #18802
closedNegation of POSIX character class does not work
Bug #18802:
Negation of POSIX character class does not work
Description
https://docs.ruby-lang.org/ja/3.1/doc/spec=2fregexp.html#charclass_posix
また、[:^クラス名:]という記法でその否定を意味します。
For example, [:^ascii:] is the negation of [:ascii:] according to the document. But it does not work:
Actions