boundary assertions Michael Montague (16 Oct 2013 23:24 UTC)
Re: boundary assertions Peter Bex (17 Oct 2013 06:59 UTC)

Re: boundary assertions Peter Bex 17 Oct 2013 06:57 UTC

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