in reply to Re^2: Repeated Pattern Matching Fails
in thread Repeated Pattern Matching Fails
You are using the /g option on a pattern in boolean context which means that the first time it will match and the second time it will continue searching where the first match ended and will therefore not find another match and will return "false".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Repeated Pattern Matching Fails
by ikegami (Patriarch) on Jan 28, 2009 at 15:35 UTC | |
|
Re^4: Repeated Pattern Matching Fails
by Marshall (Canon) on Jan 28, 2009 at 14:01 UTC | |
by Marshall (Canon) on Jan 28, 2009 at 14:47 UTC | |
by perlpal (Scribe) on Jan 29, 2009 at 05:15 UTC |