Bug 9812 – std.conv.parse string fails on certain escape characters.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-25T07:31:00Z
Last change time
2015-06-09T05:15:17Z
Assigned to
nobody
Creator
monarchdodra

Comments

Comment #0 by monarchdodra — 2013-03-25T07:31:02Z
Specifically: \0 \' \" \? \\ For example: void main() { string s = `["C:\\FolderA", "D:\\FolderB"]`; parse!(string[])(s); //Can't parse string: Unknown escape character \ }
Comment #1 by monarchdodra — 2013-03-25T07:31:19Z