mndrix/regex

allow regex to generate matching strings

Opened this issue · 0 comments

I basically want the following modes:

=~(+Text, +Pattern) is semidet.
=~(-Text, +Pattern) is multi.

The former tells you whether or not a pattern matches a given text. The latter generates texts which match the pattern. This can be helpful for debugging regular expressions.