Artifacts Associated With Ticket 218056ffffffffffffffffffffffffffffffffff
Ticket change [c55997993b] (rid 111989) by nobody on 2000-10-26 00:52:39:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1448 Bug Version: 8.0.4 SubmitDate: '1999-03-04' LastModified: '1999-08-04' Severity: LOW Status: Closed Submitter: pat ChangedBy: stanton OS: HP-UX OSVersion: B.10.20 Machine: Other FixedDate: '2000-10-25' ClosedDate: '1999-08-04' Name: David A. Schultz CVS: 18 Dec 1998, 13:00 Extensions: n/a CustomShell: none ReproducibleScript: regexp "^[ ]*#[ ]*include" " # include" results in "couldn't compile regular expression pattern: *+ operand...." However, in unix the grep -E used it just fine. regexp "^#[ ]*include" "# include" --> 0 regexp "(^#)[ ]*include" "# include" --> 1 Why are the paren's needed? ObservedBehavior: In 6 DesiredBehavior: I expect regexp "^[ ]*#[ ]*include" " # include" to yield 1. grep -E matches, so it is a valid reg exp, and it would appear that tcl mimics unix regexps. 08/04/1999 17:48 - stanton - The user has failed to quote the [] characters appropriately, so the brackets are being interpreted as a command substitution before the pattern is passed to regexp.
- foundin initialized to: "obsolete: 8.0.4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "43. Regexp"
- title initialized to: "regexp won't parse particular expression"
- type initialized to: "Bug"
Ticket change [bd8f0e4a99] (rid 101924) by welch on 2000-10-26 08:13:44:
- closedate changed to: "2000-10-26T01:13:44"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"