in reply to Re: Re: In need of a stupid regex trick
in thread In need of a stupid regex trick
Oops. (still untested...)
my @list=$str=~/((?<=")[^"]*(?=")|\S+)/g
First they ignore you, then they laugh at you, then they fight you, then you win.
-- Gandhi
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: In need of a stupid regex trick
by CountZero (Bishop) on Jan 05, 2004 at 13:54 UTC | |
by demerphq (Chancellor) on Jan 05, 2004 at 21:33 UTC | |
by CountZero (Bishop) on Jan 05, 2004 at 22:17 UTC | |
by demerphq (Chancellor) on Jan 09, 2004 at 03:12 UTC |