| |
| |
| |
|
Page: 1 2
Comments:
<0> ;string match *[addSlashes {*}]* {hell*damn} <1> D0m: #1304 (5705 clicks) Tcl: 1 <0> ;string match *[addSlashes {*}]* {helldamn} <1> D0m: #1305 (668 clicks) Tcl: 0 <2> ;string match *\** {hell*damn} <1> Gotisch: #1306 (463 clicks) Tcl: 1
<3> ;proc addslashes2 string {regsub -all -- . $string {\\\0}} <1> Pixelz: #1307 (573 clicks) Tcl: <0> ;string match *\** {helldamn} <1> D0m: #1308 (443 clicks) Tcl: 1 <0> :D <3> optimiz0red <0> addslashes does the trick it seems <2> \* does it too <0> nope <2> sure <0> [10-01 19:00] <0> ;string match *\** {helldamn} <0> [10-01 19:00] <@Safe_Tcl> D0m: #1308 (443 clicks) Tcl: 1 <3> it's what addslashes does <0> theres no * <0> in the source string <3> because you don't have it in {} <0> ah <0> ;string match {*\**} {helldamn} <1> D0m: #1322 (428 clicks) Tcl: 0 <3> ;string match *\\\** {helldamn}
<1> Pixelz: #1323 (4484 clicks) Tcl: 0 <0> :D <4> lsearch ? <5> lsearch -> http://www.tcl.tk/man/tcl8.4/TclCmd/lsearch.htm <1> lsearch -> http://Tcl.Tk/man/tcl8.5/TclCmd/lsearch.htm <4> seen phrek <6> phrek was last on IRC channel #TCL 368 days, 17 hours, 59 minutes ago. <1> phrek was last on IRC channel #Tcl 368 days, 17 hours, 58 minutes ago. <7> ;} <8> can a tcl script acutally click on links on a website? <9> No, a click requires some sort of mechanical device, such has a human, but it can follow and goto a link of course. <8> hehe, thats what I meant <8> so technically it would be possible to write a script that would search google and click on a specific link? <8> to improve your search ranking? <8> ***uming you have multiple sources to do it from <9> Yes <10> is it possible to do a very simple include or whatever? or do I need to use packages if I want to create a simple library <9> ? source <1> source -> http://Tcl.Tk/man/tcl8.5/TclCmd/source.htm <10> sound as a good opiton ;P <10> thx <9> np <11> can somebody shoot me the regexp syntax for finding several words in a string based on an input? (for example. string = "joto con chorro"; search phrase = "joto chorro" want that to return 1)
Return to
#tcl or Go to some related
logs:
switchdesk -gui screenshot #hardware #tcl t hab-nation #computers #bsd hw_random:cant be loaded #computers #csharp
|
|