diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2010-02-28 18:14:27 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2010-02-28 18:14:27 +0100 |
commit | ddb718548278290a1c25c1bbfba82bc5581457a7 (patch) | |
tree | 47d98e4dcd47a5821680c7da250f98ab19f4b16b /doc/pegdocs.txt | |
parent | 230567588b22674e6132411803a518a9a901ff50 (diff) | |
download | Nim-ddb718548278290a1c25c1bbfba82bc5581457a7.tar.gz |
bugfixes: re; pegs module
Diffstat (limited to 'doc/pegdocs.txt')
-rwxr-xr-x | doc/pegdocs.txt | 4 |
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 |