-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add regular expression support to language #130
Comments
Swift has regex support in the language https://github.com/apple/swift-evolution/blob/main/proposals/0350-regex-type-overview.md The really interesting thing here is that it has a type parameter that represents the type of the captures. |
We need a way to enable So one issue is: do we consider the If we do make it part of the regexp value, then how to do construct such a regexp?
So I think the answer has to be (1). ECMAScript defines the semantics for the This creates a problem if we consider the Java (as well as Go, Rust and several other Perl-based regexp dialects) support syntax for making |
This issue is for adding some kind of regexp support to the language, not merely as a library module.
We split the things that need defining into four:
The text was updated successfully, but these errors were encountered: