Search found 589 matches

by tiago
18 May 2016 09:24
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

Re: Processing Semicolon

And how can a user find the difference? I mean... that special character is matched when a simple semicolon is searched by CTRL+F on Notepad, but regexmatches didn't recognized it as a twin.

@SammaySarkar: how did you find the difference?
by tiago
18 May 2016 09:16
Forum: Tips & Tricks, Questions & Answers
Topic: Tiagos thread
Replies: 13
Views: 3195

Re: Tiagos thread

You're mean... :mrgreen: $blklist = "oinutter.wav,oops.wav,justyouwait.wav"; // blacklist of common words, comma (",") separated //you can just comment it so no blacklist will be applied $out = ""; $out2 = ""; $input = formatlist(<clipboard>, se, <crlf>); $inp...
by tiago
18 May 2016 08:34
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

Re: Processing Semicolon

A-hah!!! :P But... why ASC reported it as being 59? Why once pasted into the forum and copied from it it behaves as a regular semicolon? Is there a general formula which could prevent ANY breaking of regexmatches on any other unknown character like this one? Could you please elaborate a bit on this?...
by tiago
18 May 2016 07:13
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

Re: Processing Semicolon

Eliminate the semicolon which is not being recognized by the described routine.
by tiago
17 May 2016 19:12
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

Re: Processing Semicolon

In this case it is known, SammaySarkar.

I have several of those files and online locations to process thus the need of mastering the problem.
Have you tried to use readfile on the sample plus the posted test script?
by tiago
17 May 2016 10:23
Forum: Tips & Tricks, Questions & Answers
Topic: Tiagos thread
Replies: 13
Views: 3195

Re: Tiagos thread

>sigh<

Ok, I'll do it again and post it later.
by tiago
17 May 2016 10:21
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

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", "*;(+).&qu...
by tiago
17 May 2016 10:15
Forum: Tips & Tricks, Questions & Answers
Topic: Tiagos thread
Replies: 13
Views: 3195

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: 3195

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 a...
by tiago
17 May 2016 01:17
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

Re: Processing Semicolon

xy ss1.png
xy ss1.png (20.18 KiB) Viewed 3482 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: 7302

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: 7302

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 a...
by tiago
17 May 2016 00:45
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

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", "*;...
by tiago
17 May 2016 00:37
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

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 as...
by tiago
17 May 2016 00:20
Forum: Tips & Tricks, Questions & Answers
Topic: Processing Semicolon
Replies: 31
Views: 7302

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", "*;(+)."); //o...