More policy/utils unit tests and documentation.

This commit is contained in:
Jon Siwek 2011-07-19 10:28:26 -05:00
parent c5e98a8116
commit 27ba228fa1
9 changed files with 171 additions and 22 deletions

View file

@ -0,0 +1,6 @@
/^?((blarg|blah|bleh))$?/
T
/^?(foo(blarg|blah|bleh)bar)$?/
T
[matched=T, str=blah, off=4]
[matched=F, str=, off=0]