No description, website, or topics provided.
Clojure
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
src/verbal_expressions
test/verbal_expressions
.gitignore
README.md
project.clj

README.md

verbal-expressions 0.1.0

Clojure implementation of @jehna's Verbal Expression.

Original library: [https://github.com/jehna/VerbalExpressions]

Usage

(def valid-url? (verbal-expression start-of-line
                                   (then "http")
                                   (maybe "s")
                                   (then "://")
                                   (maybe "www.")
                                   (anything-but " ")
                                   end-of-line))

(valid-url? "http://www.google.com")

License

Copyright © 2013

Distributed under the Eclipse Public License, the same as Clojure.