July 07, 2015 [phobos] [D-Programming-Language/phobos] 46831a: std.regex: correctly add last character of a set t... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 46831a485ea50f8f0a1f351ee932a8a0e97cec97 https://github.com/D-Programming-Language/phobos/commit/46831a485ea50f8f0a1f351ee932a8a0e97cec97 Author: David Soria Parra <dsp@kernel.fail> Date: 2015-07-07 (Tue, 07 Jul 2015) Changed paths: M std/regex/internal/parser.d M std/regex/internal/tests.d Log Message: ----------- std.regex: correctly add last character of a set to regex (bugzilla 14529) When encounting the end of a character set ']' we have to correctly add the last encountered valid character to the regex and resepect flags. This bug caused the last character to not be correctly case folded if case folding was requested. This fixes https://issues.dlang.org/show_bug.cgi?id=14529. Commit: 7cd34919891ecf7090763a73f2f8c27dfc1cc75c https://github.com/D-Programming-Language/phobos/commit/7cd34919891ecf7090763a73f2f8c27dfc1cc75c Author: Dmitry Olshansky <dmitry.olsh@gmail.com> Date: 2015-07-07 (Tue, 07 Jul 2015) Changed paths: M std/regex/internal/parser.d M std/regex/internal/tests.d Log Message: ----------- Merge pull request #3475 from dsp/b14529 std.regex: correctly add last character of a set to regex (bugzilla 14529) Compare: https://github.com/D-Programming-Language/phobos/compare/227f1f220d70...7cd34919891e |
Copyright © 1999-2021 by the D Language Foundation