PackageDev
PackageDev copied to clipboard
[Regular Expressions] Single opening bracket in charsets is scoped punctuation
What happened?
A single opening [ may appear unescaped in charsets and thus should not be scoped punctuation.definition.set.
[[]
It becomes punctuation not before valid nestedcharset is present.
[[:alpha:]]
or
[[A-Z]-[0-9]]