Summary

irregex-match with `eow` doesn't behave like example in docs

Metadata

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.