regex-builder icon indicating copy to clipboard operation
regex-builder copied to clipboard

Simplify the regular expression from CharClass.union()

Open numeralnathan opened this issue 3 years ago • 0 comments

Let's say I have the following code CharClass.union(CharClass.digit(), ','). Currently, it makes this regular expression: [\d[,]]. Please simplify to [\d,].

This will make it easier for humans to read the regular expression.

numeralnathan avatar Jul 17 '21 16:07 numeralnathan