www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9812] New: std.conv.parse string fails on certain escape characters.

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9812

           Summary: std.conv.parse string fails on certain escape
                    characters.
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: monarchdodra gmail.com


--- Comment #0 from monarchdodra gmail.com 2013-03-25 07:31:02 PDT ---
Specifically:
\0
\'
\"
\?
\\

For example:

void main()
{
    string s = `["C:\\FolderA", "D:\\FolderB"]`;
    parse!(string[])(s); //Can't parse string: Unknown escape character \
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 25 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9812


monarchdodra gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from monarchdodra gmail.com 2013-03-25 07:31:19 PDT ---
https://github.com/D-Programming-Language/phobos/pull/1181

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