[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: boundary assertions



On Wed, Oct 16, 2013 at 04:24:23PM -0700, Michael Montague wrote:
> How about putting an @ in front of all of the boundary assertions?
> 
> bol becomes @bol. Think "at beginning of line."

It actually matches the beginning of a line.  It isn't necessarily
followed by anything, and can be used in alternation, so "at beginning
of line" would be a bit weird. (it implies something else needs to
follow like (seq @bol "foo") -> "at beginning of line, foo").

Adding the @ would be awkward IMHO.

Cheers,
Peter
-- 
http://www.more-magic.net