On Sat, Feb 7, 2009 at 16:09, Gunnar Hjalmarsson <[email protected]> wrote:
> Chas. Owens wrote:
>>
>> This isn't a job for a regex; it is a job for split:
>
> whose first argument is a regex pattern... ;-)
snip

Yes and a regex follows in the substitute, but the whole things isn't
being done with a regex.  Trying to do it with one regex can lead to a
confusing and fragile mess.


-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/


Reply via email to