Artifacts Associated With Ticket 1116050fffffffffffffffffffffffffffffffff
Ticket change [9c366e9ceb] (rid 111248) by jkbonfield on 2005-02-04 09:27:58:
- assignee initialized to: "pvgoran"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The documentation has an example: "([bc])\1 matches bb or cc but not `bc'". So I tried: % regexp {^([bc])\1$} bb 1 % regexp {^([bc])\1$} cc 1 % regexp {^([bc])\1$} bc 0 All well and good. But what if we want b* or c* but not [bc]* (ie disallow bbcb). The obvious solution is \1*: % regexp {^([bc])\1*$} bbb 1 % regexp {^([bc])\1*$} bcb 1 bcb should not match! Oddly, using \1+ works (but means of course that "b" or "c" solo does not match). James - foundin initialized to: "obsolete: 8.4.9"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jkbonfield"
- subsystem initialized to: "43. Regexp"
- title initialized to: "Regexp backreference fail with a * closure"
- type initialized to: "Bug"
Ticket change [1d208ce45b] (rid 90740) by dkf on 2005-02-04 17:26:24:
- closedate changed to: "2005-02-04T10:26:24"
- closer changed to: "dkf"
- resolution changed to: "Duplicate"
- status changed to: "Closed"