[Chicago-talk] Regular expression question

Michael Potter michael at potter.name
Fri May 1 16:08:29 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/;

Michael Potter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20090501/834e9ca7/attachment.html>

More information about the Chicago-talk mailing list