Last active
September 13, 2018 11:20
-
-
Save tbrowder/ad7019a21bc1c500e08fcd0f42ffb509 to your computer and use it in GitHub Desktop.
Modernize grammar syntax
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There are several instances of some old regex syntax in the current rakudo grammar. | |
From a brief answer by @timotimo, I'm assuming those instances can be changed to: | |
<tok>**1 [1 use; require one instance of the token?; change to =>] <tok> | |
<tok>**0..1 [17 uses; require none or one?; change to =>] <tok>? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment