Skip to content
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 extractor for Char #7737

Closed
scabug opened this issue Aug 10, 2013 · 2 comments
Closed

Regex extractor for Char #7737

scabug opened this issue Aug 10, 2013 · 2 comments
Assignees
Milestone

Comments

@scabug
Copy link

scabug commented Aug 10, 2013

It would be convenient if Regex allowed matching a char, so that the pattern syntax for char classes can be used to construct a test.

The convenience lies in a simpler pattern as well as a simpler result, since you can only get one char back on a successful match (by design).

@scabug
Copy link
Author

scabug commented Aug 10, 2013

Imported From: https://issues.scala-lang.org/browse/SI-7737?orig=1
Reporter: @som-snytt
Affected Versions: 2.11.0-M4

@scabug
Copy link
Author

scabug commented Aug 10, 2013

@som-snytt said:
scala/scala#2819

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants