[Issue 1750] New: RegExp: lack of support for wchar, dchar; lack of lookingAt() method
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 26 08:26:09 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1750
Summary: RegExp: lack of support for wchar, dchar; lack of
lookingAt() method
Product: D
Version: 2.008
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: aarti at interia.pl
1. RegExp should work for at least wchar & dchar. Maybe also for integral array
types (e.g. int[]).
2. There is no bool lookingAt() method which tries to match string at its
beginning and if it doesn't match return. For reference:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Matcher.html
Currently it is very ineffective to match pattern in incoming stream of data.
Solution with lookingAt() will be much faster.
--
More information about the Digitalmars-d-bugs
mailing list