Thread overview | ||||||
---|---|---|---|---|---|---|
|
December 20, 2011 [Issue 7141] New: std.regex - escaped characters can form operators in character classes | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=7141 Summary: std.regex - escaped characters can form operators in character classes Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: mailme+d@nilsb.dyndns.org --- Comment #0 from Nils <mailme+d@nilsb.dyndns.org> 2011-12-20 04:05:53 PST --- I think the pattern should be interpreted as CharacterClass('a', Range('-', 'b')), but currently it is interpreted as CharacterClass(Difference('a', 'b')): --- string pattern = `[a\--b]`; assert(match("-", pattern)); assert(match("b", pattern)); --- This also applies to the other set operators ("||", "&&", "~~"). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
January 19, 2012 [Issue 7141] std.regex - escaped characters can form operators in character classes | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nils | http://d.puremagic.com/issues/show_bug.cgi?id=7141 --- Comment #1 from Nils <mailme+d@nilsb.dyndns.org> 2012-01-18 18:27:39 PST --- https://github.com/D-Programming-Language/phobos/pull/377 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 05, 2012 [Issue 7141] std.regex - escaped characters can form operators in character classes | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nils | http://d.puremagic.com/issues/show_bug.cgi?id=7141 --- Comment #2 from github-bugzilla@puremagic.com 2012-02-05 09:18:19 PST --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/e859e40a1720c4504e3574566476f00f23130234 Merge pull request #377 from NilsBossung/bugzilla7141 fix bugzilla issue 7141 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 10, 2012 [Issue 7141] std.regex - escaped characters can form operators in character classes | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nils | http://d.puremagic.com/issues/show_bug.cgi?id=7141 Kenji Hara <k.hara.pg@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation