Regular Expressions 101

Library entries

Float representation

Vote

0

Regular Expression
python

"
^( ([+-]?\d+\.?\d*)| # 1{{.}1} ([+-]?\.\d+)| # .1 ([+-]?(\d*\.)?\d+[eE][-+]?\d+)| # {1{.}}1e1 ([+-]?\d+\.[eE][-+]?\d+) # 1.e1 )$
"
mx

Description

Loading markdown...
Submitted by anonymous - 2 years ago