in reply to Re: Splitting on unusual regex
in thread Splitting on unusual regex
is not split up. I'm working on a variation that ignores \) and \( and will fit into my code like this:( some stuff\) )
for ($script =~ m[( (?: \( [^)] + \) ) | \S+)]gx) { push @script, $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Splitting on unusual regex
by BrowserUk (Patriarch) on May 14, 2007 at 06:58 UTC | |
by dewey (Pilgrim) on May 14, 2007 at 08:45 UTC |