Skip to content

Instantly share code, notes, and snippets.

@lennax
Created March 9, 2012 05:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lennax/2005169 to your computer and use it in GitHub Desktop.
Save lennax/2005169 to your computer and use it in GitHub Desktop.
float regex
float_t = r"[+-]?(\d*\.\d+|\d+\.?)(e{1,2}[+-]?\d+)?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment