Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 501954ebe728954424db0357658bd32a84a9f1b4
Ticket: 963251ffffffffffffffffffffffffffffffffff
[string match] and [regexp] stop parsing on null char
User & Date: afaupell on 2004-05-30 20:07:28
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    [string match] and [regexp] fail to match beyond null
    chars in the input.
    
    <RockShox> maybe ? doenst like \x00 ?
    <suchenwi> 289 % string match BM???* BM\x0012345
    <suchenwi> 0
    <suchenwi> Yes, indeed - comparison seems to stop at
    the \x00 byte.
    <suchenwi> Since 8.0 yes, \x00 is a valid character as
    part of a string.
    <suchenwi> So you might have found a bug.
    <suchenwi> Incidentally, here too: 1685 % regexp ^BM...
    BM\x0012345
    <suchenwi> 0
    <miguel> this really sound like a bug ... report it at
    sf
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "afaupell"
  9. subsystem changed to: "None"
  10. title changed to:
    [string match] and [regexp] stop parsing on null char
    
  11. type changed to: "Bug"