Dragory/Pupil.js — pull request #2 by mandric (2013-09-15 00:46:22+00:00)
Title: minor readme update.

Took me a minute to realize i needed to quote regex params so I added it in readme.

```
$ cat test.js
var pupil = require('pupil'),
rules = {bar: "required && regex([0-9]{5})"},
doc = {bar: "0000"};

console.log(pupil.validate(rules, doc));

$ node test.js

/tmp/node_modules/pupil/src/parser.js:101
if ( ! accept.identifier) { throw new ParserException("Unexpec
^
[object Object]
```