Overview
| Artifact ID: | df1878985e9eac666d995b83d8c3677de9f9b5eb |
|---|---|
| Ticket: | 832230ffffffffffffffffffffffffffffffffff
Function to compile a pattern |
| User & Date: | elfring on 2003-10-29 08:56:09 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The class library "http://java.sun.com/j2se/1.4.2/docs/api/java/ut il/regex/Pattern.html" provides a method "compile". Can a similar function be offered for TCL? How do you think about to make the function "Tcl_RegExpCompile" (http://tcl.tk/man/tcl8.4/TclLib/RegExp.htm) callable on the script level? I would like to avoid the overhead for pattern preprocessing for the commands "http://tcl.tk/man/tcl8.4/TclCmd/regexp.htm " and "http://tcl.tk/man/tcl8.4/TclCmd/regsub.htm" in loops. Can we get more performance if the additional memory for the technique "Compile caching" will be saved?
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "elfring"
- subsystem changed to: "43. Regexp"
- title changed to: "Function to compile a pattern"
- type changed to: "RFE"