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

Regexp parse error: unexpected MATH #1049

Closed
dbrans opened this issue Jan 15, 2011 · 2 comments
Closed

Regexp parse error: unexpected MATH #1049

dbrans opened this issue Jan 15, 2011 · 2 comments

Comments

@dbrans
Copy link

dbrans commented Jan 15, 2011

A space at the beginning of a Regexp literal causes a parse error.
e.g.,
/ /

@michaelficarra
Copy link
Collaborator

See #607 and #874. Use /\ / or /(?: )/ instead.

@davidchambers
Copy link
Contributor

Or /[ ]/.

This issue was closed.
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

3 participants