Searched refs:regsub (Results 1 - 25 of 48) sorted by relevance

12

/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/generic/
H A Dmk_predefined.xotcl9 regsub -all {\\} $content && content
10 regsub -all {"} $content {\"} content ;#"
11 regsub -all "\[ \]+\n" $content \n content ;# remove trailing space
12 regsub -all "\n\[ \t\]+" $content \n content ;# remove leading space
13 regsub -all "\n#\[^\n\]*\n" $content \n content ;# remove comment lines
14 regsub -all "\n#\[^\n\]*\n" $content \n content ;# remove comment lines
15 regsub -all "\n#\[^\n\]*\n" $content \n content ;# remove comment lines
16 regsub -all "\n#\[^\n\]*\n" $content \n content ;# remove comment lines
17 regsub -all "\[\n\]+" $content \n content ;# remove empty lines
18 regsub
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/expect/expect/example/
H A Dpasswd.cgi41 regsub -all {\+} $buf { } buf
42 regsub -all {([\\["$])} $buf {\\\1} buf
43 regsub -all -nocase "%0d%0a" $buf "\n" buf
44 regsub -all -nocase {%([a-f0-9][a-f0-9])} $buf {[format %c 0x\1]} buf
H A Dcryptdir39 if {[regsub -all {[]['`~<>:-]} $f "" newf]} {
H A Ddecryptdir39 if {[regsub -all {[]['`~<>:-]} $f "" newf]} {
H A Dautoexpect167 regsub -all "\\\\" $s "\\\\\\\\" s
168 regsub -all "\r" $s "\\r" s
169 regsub -all "\"" $s "\\\"" s
170 regsub -all "\\\[" $s "\\\[" s
171 regsub -all "\\\]" $s "\\\]" s
172 regsub -all "\\\$" $s "\\\$" s
/macosx-10.10.1/tcl-105/tcl_ext/memchan/memchan/tools/
H A Dcheck_manifest24 regsub -all "\n" $list { } list
H A Dchangelog_to_list61 regsub -all "\[ \t\]+" [string trim [string range $line $da $de]] { } d
62 regsub -all "\[ \t\]+" [string trim [string range $line [incr de] end]] { } p
69 regsub -all "\[\t \]+" $line { } line
/macosx-10.10.1/tcl-105/tcl_ext/tbcload/tbcload/tools/
H A Dcheck_manifest24 regsub -all "\n" $list { } list
/macosx-10.10.1/tcl-105/tcl_ext/trf/trf/tools/
H A Dcheck_manifest24 regsub -all "\n" $list { } list
H A Dmmdecode19 regsub -all "\[\n\r\]" $buffer {} buffer
H A Dchangelog_to_list61 regsub -all "\[ \t\]+" [string trim [string range $line $da $de]] { } d
62 regsub -all "\[ \t\]+" [string trim [string range $line [incr de] end]] { } p
69 regsub -all "\[\t \]+" $line { } line
/macosx-10.10.1/tcl-105/tcl_ext/tclsoap/tclsoap/doc/
H A Dscriptview.cgi36 regsub -all {\\([][{}\\])} $body {\1} body
73 regsub -all {[][{}\\]} $data {\\&} data
76 regsub -all "\"" $data {zQuOtE} data
78 regsub -all {zQuOtE} $data "\"" data
87 regsub -all "\#\[^\n\]*\n" $data \
89 #regsub -all {"[^"]*"} $data "\}\nSV_string {{&}} \{" data ;#"
90 regsub -all \
94 regsub -all [join [list \
104 regsub -all [join [list \
/macosx-10.10.1/tcl-105/tcl_ext/tclxml/tclxml/examples/
H A Dxmlwc17 incr lines [regsub -all \n $data {} discard]
18 regsub -all "\[ \t\r\n\]+" [string trim $data] { } data
19 incr words [regsub -all { } $data {} discard]
/macosx-10.10.1/less-25/less/
H A Dregexp.h31 extern void regsub _ANSI_ARGS_((regexp *prog, char *source, char *dest));
/macosx-10.10.1/tcl-105/tcl_ext/tclae/tclae/tests/
H A DtclAEHandler.test92 regsub {BOOL\(��0(.)��\)} $tempAEDesc {\1} gizmo
120 regsub {(Couldn't coerce |bool| from 'Bool' to 'TEXT': )(Bad parameter data or unable to coerce the data supplied|OSErr -1700)} $msg {\1Bad parameter data or unable to coerce the data supplied} msg
130 regsub {(Couldn't coerce |true| from 'TEXT' to 'bool': )(No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler|OSErr -1717)} $msg {\1No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler} msg
160 regsub {(Couldn't find coercion handler: )(No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler|OSErr -1717)} $msg {\1No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler} msg
177 regsub {(Couldn't find coercion handler: )(No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler|OSErr -1717)} $msg2 {\1No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler} msg2
184 regsub {(Couldn't remove coercion handler: )(No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler|OSErr -1717)} $msg {\1No handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler} msg
202 regsub {(aevt\\ansr\{'----':���SOME TEXT���).*\}} $gizmo "\\1\}" gizmo
217 regsub {(aevt\\ansr\{'----':���SOME TEXT���).*\}} $gizmo "\\1\}" gizmo
233 regsub {(aevt\\ansr\{lowc:���some text���, uppc:���SOME TEXT���).*\}} $gizmo "\\1\}" gizmo
245 regsub {(aev
[all...]
H A DtclAEBuild.test86 regsub {(OSErr )(12345|-1740)} $msg {\1(12345|-1740)} msg
102 regsub {bool\(��0(.)��\)} $listAEDesc {\1} gizmo
121 regsub {(aevt\\ansr\{'----':)-?[0-9]+(.*\})} $replyAEDesc "\\1nnn\}" gizmo
132 regsub {(aevt\\ansr\{'----':���)[^���]+(���\})} $gizmo {\1owner\2} gizmo
142 regsub {(aevt\\ansr\{'----':)-?[0-9]+(.*\})} $theAppleEvent "\\1nnnn\}" gizmo
153 regsub {(aevt\\ansr\{errn:-1708)(.*\})} $gizmo "\\1\}" gizmo
H A DtclAEDesc.test38 # Once initialized, leaks ~5 kiB / run. regsub?
104 regsub {(alis\(��)[0-9A-F]+(��\))} $tempAEDesc {\10123456789ABCDEF\2} gizmo
200 regsub {bool\(��0(.)��\)} $tempAEDescList {\1} gizmo
244 regsub {bool\(��0(.)��\)} $recoAEDesc {\1} gizmo1
422 regsub {bool\(��0(.)��\)} $tempAEDesc {\1} gizmo
456 regsub {bool\(��0(.)��\)} $tempAEDescList {\1} gizmo
461 regsub {bool\(��0(.)��\)} $tempAEDescList {\1} gizmo
493 regsub {bool\(��0(.)��\)} $tempAEDescList {\1} gizmo
513 regsub {bool\(��0(.)��\)} $tempAEDescList {\1} gizmo
520 regsub {boo
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/examples/ldap/
H A Dldapquery96 regsub -all "\[\x01-\x1f\]" $value ? value
H A DldapChangeTest48 regsub -all "\[\x01-\x1f\]" $value ? value
/macosx-10.10.1/tcl-105/tcl_ext/xotcl/xotcl/library/lib/
H A DchangeXOTclVersion.xotcl87 regsub {^ +\$ } $configurecmd "" configurecmd
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/examples/oreilly-oscon2001/
H A Doscon142 regsub -all \r $speaker \n speaker
143 regsub -all \n+ $speaker \n speaker
144 regsub -all " *\n *" $speaker "\n" speaker
211 regsub -all {&nbsp;} $text { } text
426 regsub -all "\n" $text { } text
/macosx-10.10.1/tcl-105/tcl_ext/tclx/tclx/unix/tools/
H A Dtclmanpages86 {regsub.n tcl/strings/regsub}
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/
H A Dregex.h94 /* regsub flags */
250 extern int regsub(const regex_t*, struct _sfio_s*, const char*, const char*, size_t, regmatch_t*, regflags_t);
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/regex/
H A Dregsub.c242 regsub(const regex_t* p, Sfio_t* dp, const char* op, const char* sp, size_t nmatch, regmatch_t* match, regflags_t flags) function
/macosx-10.10.1/tcl-105/tcl_ext/tdom/tdom/encodings/
H A DGenCompactCodings327 regsub {(\.enc)$} $encodingFile {} encoding
329 regsub -- {-} $encVar {} encVar

Completed in 231 milliseconds

12