diff options
| author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-06 20:40:57 (GMT) |
|---|---|---|
| committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2013-01-06 20:40:57 (GMT) |
| commit | b88cd89730c7f5597c074f7807bfa33a589c261f (patch) | |
| tree | d8e8940c78ff44216148bd4975930cf8a4225869 /library/http/http.tcl | |
| parent | 1eab18224415dee330bf92af02a46d790abe812b (diff) | |
| download | tcl-b88cd89730c7f5597c074f7807bfa33a589c261f.zip tcl-b88cd89730c7f5597c074f7807bfa33a589c261f.tar.gz tcl-b88cd89730c7f5597c074f7807bfa33a589c261f.tar.bz2 | |
Don't depend on Spencer-specific regexp syntax (/u and /U) any more in unrelated places
. Bump http package to 2.8.6.
Diffstat (limited to 'library/http/http.tcl')
| -rw-r--r-- | library/http/http.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index d57e3ce..cb221a3 100644 --- a/library/http/http.tcl +++ b/library/http/http.tcl @@ -11,7 +11,7 @@ package require Tcl 8.6 # Keep this in sync with pkgIndex.tcl and with the install directories in # Makefiles -package provide http 2.8.5 +package provide http 2.8.6 namespace eval http { # Allow resourcing to not clobber existing data @@ -1379,7 +1379,7 @@ proc http::mapReply {string} { } set converted [string map $formMap $string] if {[string match "*\[\u0100-\uffff\]*" $converted]} { - regexp {[\u0100-\uffff]} $converted badChar + regexp "\[\u0100-\uffff\]" $converted badChar # Return this error message for maximum compatability... :^/ return -code error \ "can't read \"formMap($badChar)\": no such element in array" |
