diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-06 20:40:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-01-06 20:40:57 (GMT) |
commit | 4d73199fb21e569752b34938e8155e9e6669538c (patch) | |
tree | d8e8940c78ff44216148bd4975930cf8a4225869 /library/http/http.tcl | |
parent | a9a9afc838c1d357e9a50c1045a90276f49edb42 (diff) | |
download | tcl-4d73199fb21e569752b34938e8155e9e6669538c.zip tcl-4d73199fb21e569752b34938e8155e9e6669538c.tar.gz tcl-4d73199fb21e569752b34938e8155e9e6669538c.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" |