summary refs log tree commit diff stats
path: root/doc/pegdocs.txt
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2010-02-28 18:14:27 +0100
committerAndreas Rumpf <rumpf_a@web.de>2010-02-28 18:14:27 +0100
commitddb718548278290a1c25c1bbfba82bc5581457a7 (patch)
tree47d98e4dcd47a5821680c7da250f98ab19f4b16b /doc/pegdocs.txt
parent230567588b22674e6132411803a518a9a901ff50 (diff)
downloadNim-ddb718548278290a1c25c1bbfba82bc5581457a7.tar.gz
bugfixes: re; pegs module
Diffstat (limited to 'doc/pegdocs.txt')
-rwxr-xr-xdoc/pegdocs.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/pegdocs.txt b/doc/pegdocs.txt
index 27eb19747..87b4e25bc 100755
--- a/doc/pegdocs.txt
+++ b/doc/pegdocs.txt
@@ -86,8 +86,8 @@ macro              meaning
 ``\s``             any whitespace character: ``[ \9-\13]``
 ``\S``             any character that is not a whitespace character:
                    ``[^ \9-\13]``
-``\w``             any "word" character: ``[a-zA-Z_]``
-``\W``             any "non-word" character: ``[^a-zA-Z_]``
+``\w``             any "word" character: ``[a-zA-Z0-9_]``
+``\W``             any "non-word" character: ``[^a-zA-Z0-9_]``
 ``\n``             any newline combination: ``\10 / \13\10 / \13``
 ``\i``             ignore case for matching; use this at the start of the PEG
 ``\y``             ignore style for matching; use this at the start of the PEG