regexp-to-ast icon indicating copy to clipboard operation
regexp-to-ast copied to clipboard

Add support for negative ranges in classes

Open ConradIrwin opened this issue 4 years ago • 4 comments

Before this change [\D] was treated the same as [\d] because the complement flag was lost.

After this change [\D] correctly represents the set of non-\d characters.

This also enables [\d\D] to match every single character.

Fixes #66

ConradIrwin avatar Jul 04 '20 20:07 ConradIrwin