in reply to Strange regex behavior - beware chunk boundaries!
is it just a typo, or did you forget a tilde?
? shouldn't this be:if (/ID=([0-9]+)/) {
if (/ID=~([0-9]+)/) {
to ask a question is a moment of shame
to remain ignorant is a lifelong shame
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Strange regex behavior
by tame1 (Pilgrim) on Aug 14, 2005 at 21:58 UTC | |
|
Re^2: Strange regex behavior
by tame1 (Pilgrim) on Aug 14, 2005 at 21:22 UTC |