Skip to content

Commit 9d7e053

Browse files
committed
simplify PEG sentence
1 parent 6a8e751 commit 9d7e053

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ This project ports some ideas [Russ Cox](http://swtch.com/~rsc/) shared on
88
[how Google Code Search works](http://swtch.com/~rsc/regexp/regexp4.html) — in
99
particular the [`RegexpQuery` and related functions](https://code.google.com/p/codesearch/source/browse/index/regexp.go)
1010
from Go to JavaScript. Since JavaScript doesn't have an equivalent to Go's [`regexp/syntax`](http://golang.org/pkg/regexp/syntax/),
11-
we also use [PEG.js](http://pegjs.majda.cz/) to introduce a simplified regular
12-
expression grammar to obtain parse trees for a subset of valid [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp)
13-
patterns.
11+
use [PEG.js](http://pegjs.majda.cz/) to introduce a simplified regular
12+
expression grammar and obtain a parse tree.
1413

1514
The goal is to query trigram indexes from JS clients.
1615

0 commit comments

Comments
 (0)