From: SourceForge.net <no...@so...> - 2005-04-07 13:37:45
|
Bugs item #1178541, was opened at 2005-04-07 15:37 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1178541&group_id=10894 Category: 42. Regexp Group: development: 8.5a3 Status: Open Resolution: None Priority: 5 Submitted By: Jan Wielemaker (wielemaker) Assigned to: Pavel Goran (pvgoran) Summary: REG_BOSONLY incorrect with | Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1178541&group_id=10894 |