[Chicago-talk] Regular expression question

Joshua McAdams joshua.mcadams at gmail.com
Fri May 1 16:17:59 PDT 2009


Could you get by with s/\bEft\b/EFT/

On Fri, May 1, 2009 at 6:08 PM, Michael Potter <michael at potter.name> wrote:
>  Mongers,
>
> 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
>
> _______________________________________________
> 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