Hi,
I'm trying to match a floating point in ada.
They are normal floating points with 2 extra things.(they can or can't come)


1. an underscore is permitted between the digits and
2. An alternate numeric base may be specified surrounding the nonexponent
part of the number with pound signs, precided by a base in decimal.

Eg: 16#6.a7#e+2, 18.9,

I've
([0-9_]+(#[0-9]+\.[0-9a-fA-F]*#e[0-9]*)?)
 regex to match it, but i'm somwhere goofing up after the dec point.

Can any one help me out?

regards
-A

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to