Nicholas Clark skribis 2005-02-07 12:10 (+0000):
> Will the relative precedence of grouping versus anchors for beginning and
> end of line remain the same in Perl6 rules?

There currently is no such thing as precedence in regexes. Changing this
would make understanding regexes a lot harder, I think.

And now that (?:) is called [], I think teaching how to just do the
right thing is easy enough.

    /^(?:foo|bar|baz)$/

    /^ [ foo | bar | baz ] $/

Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to