Skip to content

Commit 8b1dd9f

Browse files
committed
learn new words, correct small typo
1 parent d3a0a01 commit 8b1dd9f

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

doc/Language/grammar_tutorial.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ useful only where an exact match of the option name is required.
210210
If, for one of the proto-regex options, a match condition occurs, then the whole
211211
proto's search terminates. The matching data, in the form of a match object, is
212212
assigned to the parent proto token. If the special <sym> token was employed, and
213-
formed all or part of the actual match, then it is preserved as a sublevel in
213+
formed all or part of the actual match, then it is preserved as a sub-level in
214214
the match object, otherwise it is absent.
215215
216216
Using proto-regexes like this gives us some greater flexibility. For example, instead of returning <sym>, which in this case is the entire string that was matched, we could instead enter our own string, or do other funny stuff. We could do the same with the "token subject" method, and limit it also to only parsing correctly on valid subjects (like 'part' or 'people', etc.).

xt/code.pws

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ startee
239239
strorarrayofstr
240240
structobj
241241
su
242+
tbar
242243
tbaz
243244
temphandle
244245
testactions

xt/words.pws

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ allcaps
2020
allof
2121
allomorph
2222
allomorphs
23+
alnum
2324
alphanumerics
2425
alreadystarted
2526
altgr
@@ -1149,6 +1150,7 @@ writehandle
11491150
wrongorder
11501151
ws
11511152
xcompose
1153+
xdigit
11521154
xeqv
11531155
xim
11541156
xorg

0 commit comments

Comments
 (0)