Thread
:
regex test problem
View Single Post
12-09-2012, 11:25 AM
PM User
|
#
5
AndrewGSW
Senior Coder
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
If you remove the "g" global modifier - which is not relevant to test() - then it behaves as expected.
Added
: I won't have JavaScript besmirched
(only joshing!)
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total
uninanonynymity
."
Me Myself & Irene
.
Validate your
HTML
and
CSS
Last edited by AndrewGSW; 12-09-2012 at
11:27 AM
..
AndrewGSW
View Public Profile
Find More Posts by AndrewGSW