Home My Page Projects Code Snippets Project Openings SML/NJ Bugs
Summary Activity Tracker Lists

[#92] IntInf.scan does not work on Hex numbers

Date:
2012-02-09 12:52
Priority:
3
State:
Closed
Submitted by:
Bug Submitter (webuser)
Assigned to:
John Reppy (jhr)
Machine Architecture:
None
Operating System:
Generic Unix
Component:
Basis Library
Resolution:
Fixed
Severity:
Major
OS Version:
SML/NJ Version:
110.74
Keywords:
basis
URL:
Transcript (of reproduction):
Standard ML of New Jersey v110.74 [built: Tue Jan 31 16:23:10 2012] - StringCvt.scanString(IntInf.scan StringCvt.HEX)
Source (for reproduction):
StringCvt.scanString(IntInf.scan StringCvt.HEX)
Summary:
IntInf.scan does not work on Hex numbers

Detailed description
According to the SML97 Basis Library specification,

IntInf.scan StringCvt.HEX

should scan strings matching [+~-]?(0x | 0X)?[0-9a-fA-F]+, but
instead it just scans the leading

Comments:

Message  ↓
Date: 2012-09-28 21:57
Sender: John Reppy

Fixed in 110.75

Attached Files:

Changes

Field Old Value Date By
status_idOpen2012-09-28 21:57jhr
close_date2012-09-28 21:572012-09-28 21:57jhr
ResolutionNone2012-09-28 21:57jhr
assigned_tonone2012-02-09 13:02jhr