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

Incorrect explanation of the + #5892

Closed
ryentzer opened this issue Jan 5, 2016 · 1 comment
Closed

Incorrect explanation of the + #5892

ryentzer opened this issue Jan 5, 2016 · 1 comment

Comments

@ryentzer
Copy link

ryentzer commented Jan 5, 2016

Challenge Waypoint: Find Numbers with Regular Expressions has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.

The content is this:

For numbers this is often written as /\d+/g, where the + following the digit selector allows this regular expression to match one or more numbers.

the + in this case is to match one or more digits, not one or more numbers. The g is a global match flag which will find all the numbers.

@SaintPeter SaintPeter added help wanted Open for all. You do not need permission to work on these. confirmed labels Jan 5, 2016
@SaintPeter
Copy link
Member

I agree. What alternative text do you propose?

@ghost ghost removed the help wanted Open for all. You do not need permission to work on these. label May 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants