D 2014-09-11T17:02:11.736 L String\sProcessing U dgp W 967

Source Files

* portions of [/finfo?name=generic/tclUtil.c|tclUtil.c]

Public Interface

* Tcl_Concat * Tcl_StringMatch * Tcl_StringCaseMatch

Private Interface

* TclTrimRight * TclTrimLeft * TclByteArrayMatch

Directly Depends On Public Interface

* [UTF-8 String] * [Allocation] * [Panic]

Directly Depends On Private Interface of

* None

Discussion

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