x.matches(/something.*/) will match all of one line. To match all lines
x.matches(/something.*/m) you need to put the 'm'.Nice!
I found it here.
Nigel Thorne's software development blog, focusing on finding simple solutions to real work problems.
x.matches(/something.*/) will match all of one line. x.matches(/something.*/m) you need to put the 'm'.
0 comments:
Post a Comment