[phobos] phobos commit, revision 1545

dsource.org noreply at dsource.org
Sun May 23 04:52:54 PDT 2010


phobos commit, revision 1545


user: rsinfu

msg:
Fixed bugzilla 3880: std.regex functions with const/immutable Regex object.

- Passing const/immutable/shared Regex object to match() and replace() is perfectly safe. Just the template constraints were unaware of the qualifiers.
- Example for splitter() was a bit wrong (compare with the correct one in the unittest around line 2990.)

http://www.dsource.org/projects/phobos/changeset/1545



More information about the phobos mailing list