[Chicago-talk] Regular expression question

Hal Wigoda hwigoda at mindspring.com
Fri May 1 17:19:13 PDT 2009


I don't see how this way is 'cleaner'.

Sent from my iPhone

On May 1, 2009, at 6:24 PM, Andrew Rodland <arodland at comcast.net> wrote:

> On Friday 01 May 2009 06:16:32 pm Andrew Rodland wrote:
>> More complicated and not tested but _should_ match your question  
>> exactly:
>>
>> s/(?:^|(?< ))Eft(?:$|(?= ))/EFT/;
>>
> Correction for this one: s/(?:^|(?<= ))Eft(?:$|(?= ))/EFT/;
>
> (added an '=' that I slipped the first time).
>
> Andrew
>
> _______________________________________________
> 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