You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1988110a28
Before this commit, incorrect regexps were produced for classes starting with "\^". For example, this grammar: start = [\^a] didn't match "a" because the generated regexp inside the parser was /^[^a]/, not /^[\^a]/ as it should be. This commit fixes the issue by escaping "^" in |quoteForRegexpClass|. Fixes GH-125. |
12 years ago | |
---|---|---|
.. | ||
compiler | 12 years ago | |
compiler.js | 12 years ago | |
grammar-error.js | 12 years ago | |
parser.js | 12 years ago | |
peg.js | 12 years ago | |
utils.js | 12 years ago |