Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2ba24fbc67afb44a9de67ee9f0ffd30036946d17
Ticket: 2178507fffffffffffffffffffffffffffffffff
regexp premature ending of match
User & Date: nobody on 2008-10-19 03:01:42
Changes

  1. assignee changed to: "pvgoran"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This regexp seems to not fully match the example expression where it would seem to. I'm not sure whether this is expected behaviour or not but seems so to me.
    
    % set exp {<(.+?)> (.*)}
    <(.+?)> (.*)
    % set test {<hello> does this work}
    <hello> does this work
    % regexp $exp $test a b c
    1
    % set a
    <hello> 
    % set b
    hello
    % set c
     
    Works this way...:
     
    % set exp {<(.+?)> (.*)$}
    <(.+?)> (.*)$
    % regexp $exp $test a b c
    1
    % set a
    <hello> does this work
    
  4. foundin changed to: "obsolete: 8.5.5"
  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: "nobody"
  10. subsystem changed to: "43. Regexp"
  11. title changed to: "regexp premature ending of match"
  12. type changed to: "Bug"