--- Changes
+++ Changes
@@ -23,12 +23,12 @@ Revision history for Perl extension Set:
0.28 Wed Dec 19 08:50:00 2012
- Extend fix for RT#81971 to add ^ in the regexps used in index() and rindex(), so they are now
- /^\Q$value\E$/ and not just /\Q$value\E$/. This issue was also reported by Henrik Hald Nørgaard.
+ /^\Q$value\E$/ and not just /\Q$value\E$/. This issue was also reported by Henrik Hald Nørgaard.
- Update docs for rindex() is say undef is returned - as with index() - if the value is not found.
- Extend t/rt.81971.t to check rindex() returns undef when searching for the suffix of a value.
0.27 Sat Dec 15 07:19:00 2012
- - Fix RT#81971, kindly reported by Henrik Hald Nørgaard.
+ - Fix RT#81971, kindly reported by Henrik Hald Nørgaard.
When special chars, as used in regexps, are set members, or used to find set members, they
must be quoted with \Q$value\E inside regexps.
This fix was applied to count(), delete(), exists(), index() and rindex().