Overview
| Artifact ID: | c3a05ec2426bb15a7371ffcae231c0ef1882f59e |
|---|---|
| Ticket: | 1902436fffffffffffffffffffffffffffffffff
regexp with escaped quantifier broken |
| User & Date: | gneumann on 2008-02-26 19:17:27 |
Changes
- assignee changed to: "pvgoran"
- cmimetype changed to: "text/plain"
- comment changed to:
Blackslashing the * quantifier seems broken in Tcl 8.5. The documentation says that "\k matches the non-alphanumeric character k taken as an ordinary character, e.g. \\ matches a backslash character". So \* is supposed to match * literally, but it does not in Tcl 8.5. In Tcl 8.4, it works as expected. Tcl 8.5: set text {this is *bold*!} this is *bold*! % regexp {\*bold\*} $text 0 % set ::tcl_patchLevel 8.5.1 Tcl 8.4: % set text {this is *bold*!} this is *bold*! % regexp {\*bold\*} $text 1 % set ::tcl_patchLevel 8.4.13 Best regards -gustaf neumann - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "gneumann"
- subsystem changed to: "43. Regexp"
- title changed to: "regexp with escaped quantifier broken"
- type changed to: "Bug"