View Single Post
Old 01-31-2013, 10:00 PM   PM User | #4
Airblader
Regular Coder

 
Join Date: Jan 2013
Location: Germany
Posts: 359
Thanks: 3
Thanked 43 Times in 43 Posts
Airblader can only hope to improve
@ felgall

That wouldn't explain the "got past" not being displayed. And it's actually not correct.

Quote:
If the regular expression includes the g flag, the method returns an Array containing all matches. If there were no matches, the method returns null.
https://developer.mozilla.org/en-US/...s/String/match

And as we hopefully all know: null doesn't have a property 'length', thus erroring out.
Airblader is offline   Reply With Quote
Users who have thanked Airblader for this post:
scnerd (01-31-2013)