Index: openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl,v
diff -u -N -r1.22.2.5 -r1.22.2.6
--- openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl 8 Aug 2020 08:08:20 -0000 1.22.2.5
+++ openacs-4/packages/xotcl-core/tcl/03-doc-procs.tcl 1 Feb 2021 10:41:29 -0000 1.22.2.6
@@ -299,7 +299,7 @@
}
set string [join $lines \n]
set html [ns_quotehtml $string]
- regsub -all {(\n[\t ]*)(\#[^\n]*)} $html \\1\\2 html
+ regsub -all -- {(\n[\t ]*)(\#[^\n]*)} $html \\1\\2 html
return "
$html
"
}
Index: openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl,v
diff -u -N -r1.148.2.30 -r1.148.2.31
--- openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl 24 Jan 2021 19:54:13 -0000 1.148.2.30
+++ openacs-4/packages/xotcl-core/tcl/05-db-procs.tcl 1 Feb 2021 10:41:29 -0000 1.148.2.31
@@ -922,13 +922,13 @@
if {[info exists col]} {
set colExpSQL $col
- regsub -all ", *" $col _ colExpName
+ regsub -all -- ", *" $col _ colExpName
} else {
set colExpSQL ($expression)
if {[info exists expression_name]} {
set colExpName $expression_name
} else {
- regsub -all {[^[:alnum:]]} $expression "" colExpName
+ regsub -all -- {[^[:alnum:]]} $expression "" colExpName
}
}
set suffix [expr {$unique ? "un_idx" : "idx"}]
Index: openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl,v
diff -u -N -r1.70.2.19 -r1.70.2.20
--- openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 5 Jan 2021 09:38:20 -0000 1.70.2.19
+++ openacs-4/packages/xotcl-core/tcl/30-widget-procs.tcl 1 Feb 2021 10:41:29 -0000 1.70.2.20
@@ -231,7 +231,7 @@
}
proc escape_message_keys {text} {
- regsub -all {(\#[a-zA-Z0-9_:-]+\.[a-zA-Z0-9_:-]+)\#} $text "\\1\x01#" text
+ regsub -all -- {(\#[a-zA-Z0-9_:-]+\.[a-zA-Z0-9_:-]+)\#} $text "\\1\x01#" text
return $text
}
@@ -253,12 +253,12 @@
set return_text ""
if {$inline} {
# Attempt to move all message keys outside of tags
- while { [regsub -all {(<[^>]*)(\x02\(\x01[^\x01]*\x01\)\x02)([^>]*>)} $text {\2\1\3} text] } {}
+ while { [regsub -all -- {(<[^>]*)(\x02\(\x01[^\x01]*\x01\)\x02)([^>]*>)} $text {\2\1\3} text] } {}
# Attempt to move all message keys outside of statements
- regsub -all -nocase {(]*>)} $text {\2\1\3} text
+ regsub -all -nocase -- {(]*>)} $text {\2\1\3} text
- while { [regsub -all -nocase {(