1.0.4 • Published 10 years ago

tiny-url-regex v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
10 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

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago