[Issue 4673] Bug in std.string (isNumeric)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 25 10:52:58 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4673


Petit Vincent <petitv.isat at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #733 is|0                           |1
           obsolete|                            |


--- Comment #8 from Petit Vincent <petitv.isat at gmail.com> 2010-08-25 19:52:47 CEST ---
Created an attachment (id=740)
Improvements of the proposed patch

Well, I checked the lexical page about D2 and it seems that something like
1_2_3_4_5_._5_4e-5_2_ is a numeric, so I decided to make some changes to the
regex to allow this kind of numerics.

But I wonder, should we consider hex things like 0xFFF as numerics or should we
have to make another function like "isHexadecimal" ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list