in reply to Re^3: Splitting on escapable delimiter
in thread Splitting on escapable delimiter
Update: this seems to work:
Still don't know why I couldn't get it to realize it had hit end of string. My guess is, if end-of-string is not required to match, it takes another shot to make sure nothing matches.my @pieces = /(?:^|\G@)((?:#.|[^@])*)/sg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Splitting on escapable delimiter
by ikegami (Patriarch) on Mar 31, 2008 at 21:49 UTC |