Summary
irregex-match with `eow` doesn't behave like example in docs
Metadata
- Id: d17a765bcc9823c41e965e21966eabe5e4849eb3
- Trac id: 1064
- Type: defect
- Reporter: evhan
- Owner:
- Cc:
- Status: closed
- Component: core libraries
- Estimated difficulty:
- Resolution: fixed
- Priority: major
- Milestone: 4.9.0
- Version: 4.8.x
- Changetime: 2013-11-16 13:34:52 UTC
- Created: 2013-11-16 06:02:32 UTC
- Keywords: irregex
Description
The docs for the irregex unit give the following example:
(irregex-match '(: "foo" eow) "foo!") => #<match>
But that currently returns #f. This is true for irregex proper as well (tested with a handful of different Schemes).
Changes and comments
[2013-11-16 10:42:58 UTC] sjamaan changed milestone from someday to 4.9.0
[2013-11-16 10:42:58 UTC] sjamaan wrote:
To be fixed before 4.9.0
[2013-11-16 13:34:52 UTC] sjamaan changed status from new to closed
[2013-11-16 13:34:52 UTC] sjamaan set resolution to fixed
[2013-11-16 13:34:52 UTC] sjamaan wrote:
This is exactly the same documentation bug as #1065: the regex in question doesn't consume the exclamation mark, so irregex-match will fail, where irregex-search will succeed. Fixed.