Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b2a41134579ab405feed4f6bbb553392319ca395089da39660f607dca1f60b69
Ticket: 860549ba83b43dbe58ae9fd73e7d7a0c26f695b3
regex compilation issue with (?q)
User & Date: bll on 2019-11-22 16:20:18
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    bll-tecra:bll$ rlwrap ../linux/64/tcl/bin/tclsh
    % set pat "^(?q)/home/bll/blah/blah/blah"
    ^(?q)/home/bll/blah/blah/blah
    % set fn "/home/bll/blah/blah/blah/somedir/somefile.txt"
    /home/bll/blah/blah/blah/somedir/somefile.txt
    % regsub $pat $fn {} stuff
    couldn't compile regular expression pattern: quantifier operand invalid
    % 
    
    Occurs in 8.6.9 also.
    
  5. foundin changed to: "8.6.10"
  6. is_private changed to: "0"
  7. login: "bll"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "bll"
  13. subsystem changed to: "43. Regexp"
  14. title changed to: "regex compilation issue with (?q)"
  15. type changed to: "Bug"