Menu

#55 Fix problems with [string match]

open
5
2001-02-22
2001-02-21
No

Problems detected and fixed:
* Inappropriate handling of case insensitivity
* Incomplete handling of UTF-8 patterns in Tcl_StringCaseMatch
* Handling of incomplete match sets (e.g. "[a-") that was significantly at odds with that documented in the string manual page.

Discussion

  • Donal K. Fellows

    None

     
  • Donal K. Fellows

    Please review - note that several tests in string.test and util.test have had the sense of their result changed. I believe that the change respects the specification better (by making incomplete sets be treated as if they were not sets at all, and so subjected to the standard rules on literal matching.)

     
  • Donal K. Fellows

    • assigned_to: nobody --> dkf
     
  • Donal K. Fellows

    • labels: 300100 --> 44. UTF-8 Strings