[Chicago-talk] Regular expression question

Hal Wigoda hwigoda at mindspring.com
Mon May 4 08:05:12 PDT 2009


The first upper case F needs to be lower case.


On May 4, 2009, at 9:44 AM, Sean Blanton wrote:

> I'd try something like this (not tested)
>
> s/\bEFt\b/EFT/
>
>
> Sean Blanton, Ph.D.
>
> Follow: http://www.twitter.com/seanblanton
> Connect: http://www.linkedin.com/in/seanblanton
>
>
>
> 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
>
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/chicago-talk/attachments/20090504/619fceb2/attachment.html>


More information about the Chicago-talk mailing list