[Chicago-talk] Regular expression question

Andrew Rodland arodland at comcast.net
Fri May 1 16:24:15 PDT 2009


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



More information about the Chicago-talk mailing list