Overview
| Artifact ID: | 0a30cbe0076e23b978e7b8fde1bb6a6c73e1ad94 |
|---|---|
| Ticket: | 1178541fffffffffffffffffffffffffffffffff
REG_BOSONLY incorrect with | |
| User & Date: | wielemaker on 2005-04-07 13:37:44 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, I've incorporated the Tcl regex code in my project (www.swi-prolog.org) and found a bug in the regex code. I guess that will also affect Tcl. I didn't find a patch yet, I have some trouble sorting out the internals. In my app it shows as ?-send(regex('foo|bar'), match, 'xxx bar'). which succeeds! Match (instead of search) sets REG_BOSONLY, but this causes the regex to be read as \Afoo|bar rather than \A(foo|bar). Using foo|\Abar, all works fine as well. Cheers --- Jan - foundin changed to: "obsolete: 8.5a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "wielemaker"
- subsystem changed to: "43. Regexp"
- title changed to: "REG_BOSONLY incorrect with |"
- type changed to: "Bug"