js-regex
js-regex copied to clipboard
'Alt' syntax isn't consistently supported
What if I want to .sequence('hello!', regex.optional(' '))
, or the like?
(This might be more an argument that I should dive through other regex builder libraries for their API - on second readthrough of the code, it looks like the only fns that don't support the alt form are the ones that act on previous terms, which makes sense)