bug fixed
add a validation method for regexp
added stop/start/allcheck methods
fixed examples
added jsdoc.
fixed examples