[Chicago-talk] Regular expression question

Andy Lester andy at petdance.com
Sat May 2 13:50:59 PDT 2009


> 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


More information about the Chicago-talk mailing list