Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e80283deda47c1a24c01f192e85dedf03d5f9bf5
Ticket: 2065115fffffffffffffffffffffffffffffffff
RE syntax "***=" fails
User & Date: duquette on 2008-08-21 15:56:50
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When "***=" appears at the beginning of an RE, the
    remainder of the string is supposed to be treated as
    a string literal to be matched literally.  This worked
    in 8.4.14; it isn't working in 8.5.3, as shown by
    this example:
    
    set string "aeiou"
    set re "***=o"
    
    if {[regexp -- $re $string]} {
        puts "Match!"
    } else {
        puts "Fail!"
    }
    
    The script ought to output "Match!"; it outputs "Fail!".
    
    I'm running Tcl 8.5.3 on RedHat Enterprise Linux 4.
    
    
  4. foundin changed to: "obsolete: 8.5.4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "duquette"
  10. subsystem changed to: "43. Regexp"
  11. title changed to: "RE syntax "***=" fails "
  12. type changed to: "Bug"