Overview
| Artifact ID: | 4b6a0425c1d1ad98c39dcc1d3310f79cea4f06ea |
|---|---|
| Ticket: | 7e4d5a0a2b439cd36db77d3a5d6a09cb5c4f8d7c
regexp behaviour differs based on passing option as literal v/s variable |
| User & Date: | apnadkarni on 2016-05-20 13:10:13 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
As seen below regexp behaviour is different based on -nocase (or any option) being passed as literal or through a variable. % set switch -nocase -nocase % regexp $switch "Looking for -nocase" 1 % regexp -nocase "Looking for -nocase" wrong # args: should be "regexp ?-option ...? exp string ?matchVar? ?subMatchVar ...?" dgp from chat: dgp I'd guess a compiler bug [18:36] dgp % set cmd regexp regexp % set switch -nocase -nocase % $cmd $switch "Looking for -nocase" wrong # args: should be "regexp ?-option ...? exp string ?matchVar? ?subMatchVar ...?"
- foundin changed to: "8.6.5"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to:
regexp behaviour differs based on passing option as literal v/s variable
- type changed to: "Bug"