Author: moritz Date: 2009-10-22 23:41:42 +0200 (Thu, 22 Oct 2009) New Revision: 28886
Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] allow multiple aliases as per IRC consesus Modified: docs/Perl6/Spec/S05-regex.pod =================================================================== --- docs/Perl6/Spec/S05-regex.pod 2009-10-22 19:59:04 UTC (rev 28885) +++ docs/Perl6/Spec/S05-regex.pod 2009-10-22 21:41:42 UTC (rev 28886) @@ -1163,6 +1163,14 @@ $<foo> = <bar> +Multiple aliases are allowed, so + + <foo=pub=bar> + +is short for + + $<foo> = $<pub> = <bar> + If the first character after the identifier is whitespace, the subsequent text (following any whitespace) is passed as a regex, so: