[Issue 7692] std.conv.parse should do lookahead for "0x" in strings with radix 16

2012-10-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7692 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Issue 7692] std.conv.parse should do lookahead for "0x" in strings with radix 16

2012-03-11 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7692 --- Comment #1 from Andrej Mitrovic 2012-03-11 19:53:45 PDT --- A simple thing to do would probably be to add this at the start of Target parse(Target, Source)(ref Source s, uint radix): if (radix == 16 && s.startsWith("0x")) s.po