http://qs321.pair.com?node_id=528925


in reply to Re: Regular Expression match too much
in thread Regular Expression match too much

Just out of curiostiy, why did you use \z and with ^ instead of \A?

thor

The only easy day was yesterday

  • Comment on Re^2: Regular Expression match too much

Replies are listed 'Best First'.
Re^3: Regular Expression match too much
by ikegami (Patriarch) on Feb 08, 2006 at 20:41 UTC
    Little code &mdash I don't recall ever seeing any &mdash uses \A and \Z for regexps without /m. This is probably because the alternatives ^ and $ stand out more. I didn't see any reason for breaking this convention. If \a was an alias for \A, I would have used that.