An open API service indexing awesome lists of open source software.

https://github.com/pbalduino/clojureverbalexpressions


https://github.com/pbalduino/clojureverbalexpressions

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# verbal-expressions 0.1.0

Clojure implementation of @jehna's Verbal Expression.

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

## Usage

```clojure
(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.