You can clone with
HTTPS or Subversion.
Add support for ...
Now for function calls and array initializers, you can use ... to match 0 or
more elements of the list.
Add support for loose object matching
Adds support for var/let, and adds support for loose object matching.
Fix usage function
Resolve a ReferenceError.
Added -o option
This is sueful, especially for dealing with minified files.
Swap out option parser
Switched to using node-getopt, which has a getopt-style interface. This allows
me to support multiple patterns, which I have also implemented.
Add support for variables
Binds variables, so that if they are referenced multiple times, it must be the
same value each time it is matched. Also allows you to print just the matched
Add some test files
Add some test files and modify jsgrep to accept itself as input.
Added a README file.
It's sort of like documentation
Fix detection of script/statement/expression
It was misclassifying single-statement queries as scripts.