unnali/rouge — pull request #15 by noprompt (2012-11-27 10:15:17+00:00)
Title: Add regular expression dispatch support

I'm not sure what the plan for regular expressions are but it was the first thing I tried in the REPL. Alas, it produced an `Rouge::Reader::UnexpectedCharacterError` so I thought I'd take a crack at it.

Example:
```clojure
user=> #"\d+"
#"\d+"
user=> (.match #"\d+" "777")
#
user=> (defn re-pattern [s]
#_=> (.compile Regexp s))
#'user/re-pattern
user=> (re-pattern "\\d+")
#"\d+"
```

The tests aren't terribly comprehensive but everything I've thrown at it in the REPL seems fine.