Overview
Artifact ID: | e45ba7a55cb9a92f7cef82d04608ff85c61fb528 |
---|---|
Ticket: | 700ac47ece488c90836eac2e459ad29e6f329b6e
Bug in regexp matching |
User & Date: | Hagay Garty 2014-12-27 09:17:56 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Hi, I have seen a bug in regexp matching. I verified VS external regexp engines that indeed im not mistaken. Recreation: set data {0000} regexp {\n?(0+?)} $data a b This will place '0000' in b variable The correct result is to place '0' in b variable So in this case the '+?' is treated as '+" BTW when omitting the '\n?' from the beginning of the regexp the problem is gone and the correct assignment is made to b - '0'
- foundin changed to: "8.5.17"
- is_private changed to: "0"
- login: "Hagay Garty"
- priority changed to: "5 Medium"
- private_contact changed to: "16c28166ca941aa1315f7147d67737eb495d8ff0"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "Hagay Garty"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Bug in regexp matching"
- type changed to: "Bug"