Search found 583 matches

by tiago
17 May 2016 10:21
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

Hello, SammaySarkar! Thanks for popping up. $tk = "(te);"; step; $tk = regexreplace($tk, "chr(59)", ""); //otherwise regexmatches will bitch... $tk = trim($tk, eval("chr(59)")); //otherwise regexmatches will bitch... $tk = trim("$tk", "*;(+)."); //otherwise regexmatches will bitch... text "no semico...
by tiago
17 May 2016 10:15
Forum: Tips & Tricks, Questions & Answers
Topic: Tiagos thread
Replies: 13
Views: 1142

Re: Tiagos thread

...in the trash bin...? :roll:

I was so disappointed by my results that I threw it away, highend. May recall the dumb routines I used but it would be a total shame posting that here. Please spare me. :whistle:
by tiago
17 May 2016 02:06
Forum: Tips & Tricks, Questions & Answers
Topic: Tiagos thread
Replies: 13
Views: 1142

Code Improvements

Using the inputs posted here http://www.xyplorer.com/xyfc/viewtopic.php?f=6&t=730&p=138363#p138363 highend suggested he could improve execution times a bit. He can!, as his solution goes with 1313 ms against fabulous 22547 msecs o'mine. Trying to integrate a blacklist on it breaks the code as regexm...
by tiago
17 May 2016 01:17
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

xy ss1.png
xy ss1.png (20.18 KiB) Viewed 1045 times
highend wrote: Your text editor after inserting the text
What?
I insert it right into the Run Script dialogue. Once done coding, then I paste both code and processed text into plain text files.
by tiago
17 May 2016 00:57
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

highend wrote:Ehm, removing of quotes around $tk has what to do with this case?
This is just unnecessary quoting, that's all.
I agree.
highend wrote:Mine takes 1313 ms to produce the alphabetical sorted list "Abwurf.wav = 1<crlf>..."
How do you do the measurement???
by tiago
17 May 2016 00:54
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

It's a trick problem. If you bother... Go here: http://www1.folha.uol.com.br/mercado/2016/05/1771547-vai-viajar-para-o-exterior-veja-o-que-pode-trazer-na-bagagem.shtml Put the text in print preview, copy the whole page; Paste the content on a notepad window; Locate "(SP);" on it, copy it and use it ...
by tiago
17 May 2016 00:45
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

I really cant take it. Now it's not working again: $tk = "(te);"; step; $tk = regexreplace($tk, "chr(59)", ""); //otherwise regexmatches will bitch... $tk = trim($tk, eval("chr(59)")); //otherwise regexmatches will bitch... $tk = trim("$tk", "*;(+)."); //otherwise regexmatches will bitch... text "no...
by tiago
17 May 2016 00:37
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

So it seems I don't understand quoting too. Removing quotes on "$tk" makes it work. "*;(+)." What's that, a regex pattern? No. Those characters, perhaps more, if present on input make regexmatches throw error messages for each time they happen on a loop. Anyway I'm considering asking a silent mode f...
by tiago
17 May 2016 00:20
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Re: Processing Semicolon

Sure. $tk = "(test);"; // step; $tk = regexreplace("$tk", "chr(59)", ""); //otherwise regexmatches will bitch... $tk = trim("$tk", eval("chr(59)")); //otherwise regexmatches will bitch... $tk = trim("$tk", "*;(+)."); //otherwise regexmatches will bitch... text "no semicolon here?<crlf>$tk";
by tiago
16 May 2016 23:53
Forum: Script Exchange
Topic: script to select files, folders in groups
Replies: 16
Views: 1471

Re: User Functions Exchange

Another nice tip. So far so good but this http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=15887 is preventing proper usage of regexmatches.
by tiago
16 May 2016 23:52
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 2415

Processing Semicolon

Why I can't use regexreplace or trim on semicolon?
by tiago
16 May 2016 22:39
Forum: Wishes
Topic: File Based Custom Sort Order
Replies: 5
Views: 854

Re: File Based Custom Sort Order

It worked!!!!!!

:appl: :appl: :appl:
by tiago
16 May 2016 22:31
Forum: Wishes
Topic: File Based Custom Sort Order
Replies: 5
Views: 854

Re: File Based Custom Sort Order

Thanks for the bearing! Going down on it...
by tiago
16 May 2016 22:29
Forum: Script Exchange
Topic: script to select files, folders in groups
Replies: 16
Views: 1471

Re: User Functions Exchange

Well.
It's pseudo because strpos nor any known function I'm aware of can do it. strpos being the closer I get to this.
Per the request I'd like to have the ability to use words in the haystack which strpos as it is won't do.
by tiago
16 May 2016 22:25
Forum: Wishes
Topic: File Based Custom Sort Order
Replies: 5
Views: 854

Re: File Based Custom Sort Order

highend wrote:Why are you not allowed to script that?

Just do it! Ofc the automation would require something external but that's not hard to do as well...
I can't figure out any XYplorer scripting routine by which I could do this, let alone outsource this.

:|