Skip to content

Instantly share code, notes, and snippets.

@ray1729
Created March 31, 2011 16:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ray1729/896702 to your computer and use it in GitHub Desktop.
Save ray1729/896702 to your computer and use it in GitHub Desktop.
Possible Regexp::Common API for Clojure
;; Perl: $RE{num}{-base => 2}{real}{-group => 3}{-sep => ','}
(re-seq (re :real {:base 2 :group 3 :sep \,} ) "1.345")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment