Overview
| Artifact ID: | 834398468f1a3c79de6a78bcd17b798522a173dc6e0a1abceb019a8e28d17f30 |
|---|---|
| Ticket: | 697b1bbfe3387b8f777e55d4aba9a4e20833e8ed
Incorrect argument handling by [regexp] |
| User & Date: | erikleunissen on 2022-09-18 11:30:05 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Here are the results of six invocations of the "regexp" command. They indicate incorrect argument handling. % set str "a-z" a-z % regexp - $str; #1 bad option "-": must be -all, -about, -indices, -inline, -expanded, -line, -linestop, -lineanchor, -nocase, -start, or -- % regexp \- $str; #2 1 % regexp {-} $str; #3 bad option "-": must be -all, -about, -indices, -inline, -expanded, -line, -linestop, -lineanchor, -nocase, -start, or -- % regexp -\\ $str; #4 couldn't compile regular expression pattern: invalid escape \ sequence % regexp \\- $str; #5 1 % set initstring "-" - % regexp $initstring $str; #6 1 % This discussion thread at c.l.t. provides some clues: https://groups.google.com/g/comp.lang.tcl/c/pbqqj8tcIUk - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "erikleunissen"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "erikleunissen"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "Incorrect argument handling by [regexp]"
- type changed to: "Bug"