You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was initially confused by the named capture example anyway because it wasn't clear what the syntax for a named capture actually was. perl6 has so much strange punctuation that I thought the := was some sort of perl6 regex kung fu rather than the syntax for named captures, so an example of the syntax without a regex cluttering things up would have been clearer, e.g. "Named captures use the following syntax:
$<foo>=[ regex here ]
The text was updated successfully, but these errors were encountered:
7stud
changed the title
Example causes error
Named capture example causes error
Jan 7, 2017
7stud
changed the title
Named capture example causes error
Regex: named capture example causes error
Jan 7, 2017
7stud
changed the title
Regex: named capture example causes error
Regex named capture example causes error
Jan 7, 2017
In Introduction to Perl 6 Regex, in the section titled matching Perl variables, it looks like the syntax for Regex named captures has changed from:
to:
And after changing
:=
to=
:I was initially confused by the named capture example anyway because it wasn't clear what the syntax for a named capture actually was. perl6 has so much strange punctuation that I thought the
:=
was some sort of perl6 regex kung fu rather than the syntax for named captures, so an example of the syntax without a regex cluttering things up would have been clearer, e.g. "Named captures use the following syntax:The text was updated successfully, but these errors were encountered: