-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regex operators for sequences #12
Comments
I like the idea of naming them after what they do rather than describing the symbol, even though the symbol names are shorter. One interesting thought is that all three of those quantifier (which is what the Perl docs call them) operators are really shorthand for |
I think that's a good idea. We can still expose this function bound to predefined values for +, ?, *. |
From clojure.spec, but we need to rename some as ?, + and * are not valid in javascript identifiers.
cat
alt
?
=> qm? atMostOne?+
=> plus? atLeastOne?*
=> star? any?So that we could
Check to what extent we can leverage pamatcher.
The text was updated successfully, but these errors were encountered: