Overview
| Artifact ID: | 410df2c1d1e80549e312a3b8d49e98886850315d |
|---|---|
| Ticket: | 1822052fffffffffffffffffffffffffffffffff
regexp feature to specify a default value for subMatchVar's |
| User & Date: | meliorator on 2007-10-29 11:46:12 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
When matching with an expression that has optional parenthesized subexpressions, it would be useful if a value for the relevant subMatchVar could be set, in the eventuality that the subexpression was not matched. Example: regexp {(foo)(bar)?} foobar matchVar subMatchVar1 {subMatchVar2 bar} This would set the value of subMatchVar2 to bar, whether it matched it or not. It is a rather basic example of the feature that I would like to use in much more complex expressions. - 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: "meliorator"
- subsystem changed to: "18. Commands M-Z"
- title changed to:
regexp feature to specify a default value for subMatchVar's
- type changed to: "RFE"