Overview
| Artifact ID: | 14fdddf2a35fcb12ce7c584bc1b638d6463a12c6 |
|---|---|
| Ticket: | 3556218fffffffffffffffffffffffffffffffff
string match & glob: close-bracket in character set |
| User & Date: | avl42 on 2012-08-11 00:22:57 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
As of now, it is not possible to include a close-bracket character in a bracketed set of allowed characters. [scan]'s format uses bracketed sets of allowed characters, too, and it *does* allow a close-bracket as first char. Having looked into the implementation of tcl's string-globbing, it seems that *before* entering that loop over the bracketed characters, an initial check for ']' in the pattern and in the string to be matched would be a really simple fix. Doing it that way, would even still allow a dash to be included verbatim, as well, by placing it right after the close-bracket.
- 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: "avl42"
- subsystem changed to: "18. Commands M-Z"
- title changed to:
string match & glob: close-bracket in character set
- type changed to: "Bug"