Skip to content
Tcl Source Code Artifact [b0f7845889]
Login

Artifact [b0f7845889]

Artifact b0f78458899b79f9e1839a47c8a46588f5141ffe:

Wiki page [String Processing] by dgp on 2014-09-11 17:02:11.
D 2014-09-11T17:02:11.736
L String\sProcessing
U dgp
W 967
<h1>Source Files</h1>
  *  portions of [/finfo?name=generic/tclUtil.c|tclUtil.c]

<h1>Public Interface</h1>
  *  Tcl_Concat
  *  Tcl_StringMatch
  *  Tcl_StringCaseMatch

<h1>Private Interface</h1>
  *  TclTrimRight
  *  TclTrimLeft
  *  TclByteArrayMatch

<h1>Directly Depends On Public Interface</h1>
  *  [UTF-8 String]
  *  [Allocation]
  *  [Panic]

<h1>Directly Depends On Private Interface of</h1>
  * <i>None</i>

<h1>Discussion</h1>

These are the utilities that perform operations on 
char arrays representing Tcl string values.  They are inherently
limited to the arrays with length no greater than INT_MAX.
 They also are written for the 
Modified UTF-8 encoding expected of string values in Tcl 8.  Any
changes to those assumptions in Tcl 9 will require something new,
either revisions to these routines, or development of new routines
with broader capabilities while these persist as limited legacy
support mechanisms.


Z 575a2069a483710502582492db5047b2