On 2018-03-15, at 01:21:23, [email protected] wrote:

> Use a TR as well. Works wonders.
>  
Maybe

> ----- Original Message -----
> Sent:Wed, 14 Mar 2018 21:06:36 -0600
> 
> Ok. Now make it case-insensitive, which is a common convention. That
> can be done with Boyer-Moore.
>  
When Boyer-Moore was first announced (in CACM?) about 40 years ago,
it fascinated me.  I coded an enhanced variant such that majuscule
characters in the pattern would match only majuscule characters in
the subject; minuscule characters in the pattern would match either
case.  I thought it might be useful that "Robin" would match either
"Robin" or "ROBIN", but not "robin".  Don't know how useful it was,
but it was fun to code.  I don't believe I could have done it with
"a TR as well".

-- gil

Reply via email to