[Chicago-talk] Regular expression question

Hal Wigoda hwigoda at mindspring.com
Sat May 2 13:55:54 PDT 2009


It is a challenge.

Sent from my iPhone

On May 2, 2009, at 3:50 PM, Andy Lester <andy at petdance.com> wrote:

>> What is the cleanest way to combine these three regular expressions:
>>
>> $Note =~ s/^Eft /EFT /;
>> $Note =~ s/ Eft / EFT /;
>> $Note =~ s/ Eft$/ EFT/;
>
> What are you trying to achieve by combining them?  What's wrong with
> them the way they are?
>
> xoa
>
> -- 
> Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk


More information about the Chicago-talk mailing list