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
Copy file name to clipboardExpand all lines: doc/Language/grammar_tutorial.pod6
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ So if we got a URI on the server of "/product/update/7/notify" we would want our
87
87
88
88
The first thing we do is define the grammar class. We're going to need to define our subject, command and data as well. I think we'll use token for them, since we don't care about whitespace in the regex.
89
89
90
-
=begincode
90
+
=begincode
91
91
grammar REST {
92
92
token subject { \w+ }
93
93
token command { \w+ }
@@ -174,7 +174,7 @@ There are several ways to accomplish this. For example, you could change the com
0 commit comments