May 23, 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