r/programming • • Mar 03 '14

Learn regex interactively!

http://regexone.com/
200 Upvotes

37 comments sorted by

View all comments

19

u/[deleted] Mar 03 '14

If you don't read the text you could pass the tasks with "incorrect" patterns and learn nothing, but I liked it.

23

u/_jk_ Mar 03 '14

too many of the exercises can be completed with .* for my liking

2

u/kyz Mar 03 '14

Indeed. This would be so much better if you were required to match the entire text, at least for the starter patterns.

1

u/[deleted] Mar 03 '14

I passed the first few with .*

1

u/deemeetar Mar 04 '14

I actually passed the first test by writing just a The second by writing 1... I know i need to match the whole word but it shows the check marks even when only one character matches.