Summary
string-match is not identical to string-search even with regexp
Metadata
- Id: 363432e14d3065c1417cf1714423ed15d2862034
- Trac id: 402
- Type: defect
- Reporter: daishi
- Owner:
- Cc:
- Status: closed
- Component: unknown
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.6.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2010-09-28 16:40:14 UTC
- Keywords:
Description
(sorry, mario. it was me.)
The manual says that string-match is identical to string-search if regexp is given, but as far as I tried, it's not.
Changes and comments
[2010-09-28 16:51:36 UTC] mario wrote:
Hi Daishi! No problem at all. Nice to see you back! Thanks for reporting tickets.
[2010-09-29 08:42:41 UTC] felix wrote:
Can you give an example where this fails?
[2010-09-29 14:37:12 UTC] felix changed status from new to closed
[2010-09-29 14:37:12 UTC] felix set resolution to fixed
[2010-09-29 14:37:12 UTC] felix wrote:
Daishi, you're right. It was like that before we switched to irregex as the regex implementation. I have changed the documentation accordingly (note that regex has been taken from the core and turned into an egg).
[2011-06-01 09:00:41 UTC] felix changed milestone from 4.7.0 to 4.8.0
[2011-06-01 09:00:41 UTC] felix wrote:
Milestone 4.7.0 deleted
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted