Add short copyright text to all our source files
Add git hooks
Merge pull request #15 from cesanta/git_hooks

Add git hooks
Merge pull request #16 from cesanta/fix_copyright_attribution

Add short copyright text to all our source files
Ensure unit tests pass
Merge pull request #17 from cesanta/unit_test_pass

Ensure unit tests pass
Fix regexp expression termination

Javascript statements to be terminated by newlines and EOFs.

Tested with:

 - node -e 're = /GET (\\S+) HTTP/'
 - echo "re = /GET (\\S+) HTTP/\nconsole.log(re)" | node
Fix `substr` and add `substring`

See:

 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring
 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

Tested with:

 - node -e "console.log('hi there'.substr(3, 2))"
 - node -e "console.log('hi there'.substring(3, 5))"
Fix test for negative `substr*`start

Doc sasys "If either argument is less than 0 or is NaN, it is treated as if it were 0."
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substring

Trusted MDN, didn't check spec itself.

Tested with:

 - node -e "console.log('test'.substr(-200))"
Merge pull request #18 from cesanta/regexptok

Fix regexp expression termination
Merge pull request #19 from cesanta/fixsubstr

Fix `substr` and add `substring`
Merge pull request #20 from cesanta/negsubstr

Fix test for negative `substr*`start
Fix style and add linter checks

Remove tabs from our sources (leave in 3rd party).
Fix line length.
Add spaces after casts.
Convert line comments.
BSD multi-line comments.
Merge pull request #22 from cesanta/fix_paths

Fix style and add linter checks
add my ignore list
FIX: issue #21 "/x*/ regexp should match an empty substring"
Merge pull request #24 from vrz/master

FIX: issue #21 "/x*/ regexp should match an empty substring"
Cosmetic changes + styling.