> 
> The 'st' is apparently equivalent to some ligature or some other UTF-8
> character, so you end up with an alternation of two different lengths,
> which can't be used for look-behinds.
> 
> Use a character set modifier /a to restrict the matching to ASCII rules.
> Search for "Character set modifiers" in the perlre man page.
> 
> So something like:
>   /(?<!Best )\bRegards,/aai
> should do with perl >= 5.14 .
> 
> Better yet, avoid lookbehinds.
> 
>   Mark
> 

Many thanks Marc - both suggestions solve my problem.

-- Mike

Reply via email to