1.0.4 • Published 9 years ago

tiny-url-regex v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

url-regex

A small node.js regex library for a url router.

#example

var regex = require('tiny-url-regex');
var ndfa = regex.Ndfa('abc[ae](1|3)w'); // Any valid regex rule.
ndfa.generateStates();
var isValid = ndfa.testString('abcaeaeaeeea3w'); // valid
var isValid2 = ndfa.testString('abc'); //invalid

I pity anyone who uses this for production.

Feel free to improve it!

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago