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

'Alt' syntax isn't consistently supported

Open wyantb opened this issue 9 years ago • 0 comments

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)

wyantb avatar Apr 20 '15 00:04 wyantb