Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial<noob />
17,062 PointsWhat is + means on regex? can't understabd
what is [a-z]+ for exmaple means? is it like saying that it can be multiple times a letter?
1 Answer
Zimri Leijen
11,835 Pointsthat means it looks for 1 or more occurrences of a letter in the range of a-z.
so any lowercase word will trigger it.
This is a good tool for helping understand regex https://regexr.com/
to be more specific, whatever search term is directly in front of the + symbol will need to be matched 1 or more times.
<noob />
17,062 Points<noob />
17,062 PointsThank you very much sir.
Sean T. Unwin
28,690 PointsSean T. Unwin
28,690 PointsRegEx Pal is another good place to experiment/test Regular Expressions.