Skip to content

pbalduino/ClojureVerbalExpressions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published