Re: [Pyparsing] Word and Regex matching more than they should
Brought to you by:
ptmcg
|
From: Ralph C. <ra...@in...> - 2018-01-22 12:24:19
|
Hi,
> hs_decimal = pp.Regex(r"-?[\d_]+(\.[\d_]+)?([eE][+\-]?[\d_]+)?")
I think this matches
_
___
-_
_._
_E_
and so on.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
|