Opened 12 years ago
Closed 12 years ago
#1064 closed defect (fixed)
irregex-match with `eow` doesn't behave like example in docs
| Reported by: | evhan | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 4.9.0 |
| Component: | core libraries | Version: | 4.8.x |
| Keywords: | irregex | Cc: | |
| Estimated difficulty: |
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).
Change History (2)
comment:1 Changed 12 years ago by
| Milestone: | someday → 4.9.0 |
|---|
comment:2 Changed 12 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.

To be fixed before 4.9.0