At Mon, 7 Jan 2002 13:18:12 +0900,
Matt Armstrong <matt+dated+1010809088.372b5f / lickey.com> wrote:
> I liked your idea at first, but this method is actually slower in my
> case.  Why?  String#index with an offset does not support \A or ^ in
> the regexp.

Use \G instead.  \A always matches the beginning of the string.

-- 
Nobu Nakada