Page 1 of 1

Regular expressions Visual Filters for Unicode characters

Posted: 11 Aug 2014 10:05
by Marco

Re: Regular expressions Visual Filters for Unicode character

Posted: 11 Aug 2014 10:17
by bdeshi
:shock:

Re: Regular expressions Visual Filters for Unicode character

Posted: 12 Aug 2014 21:54
by Enternal
SammaySarkar wrote::shock:
+1
:lol:

Re: Regular expressions Visual Filters for Unicode character

Posted: 12 Aug 2014 22:54
by Marco
Btw, I'm currently fixing some awful mistakes, will post a definitive version tomorrow.

Re: Regular expressions Visual Filters for Unicode character

Posted: 16 Aug 2014 16:40
by Marco
Took me longer than I planned, but here it is. Still not 100% satisfied with the final handling of captions vs actual VF in case more options are selected, but that's a minor aspect and the whole thing works. Beware, certain filter are huge.

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 11:06
by Enternal
This is pretty amazing actually. Not only that, the file size :)

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 12:45
by Marco
:mrgreen:

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 15:11
by bdeshi
The most amazing thing here is how Marco managed to write it without being hospitalized for severely traumatic headache. :mrgreen:
I get those just by peering inside the code. Even with one eye closed.

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 15:45
by Marco
Let's just say that it's an unusually rainy summer here, and I get bored pretty quickly :D
I have a bunch of files with Russian names and wanted a quick way to spot them. So I recalled what I did with Arabic and tried the same thing, but noticed that there are digraphs and other problematic stuff that prevent from creating an elegant and simple solution. Then I read the Holy Bible of regexes and found the \p{X} syntax - something cool to import in XY. The rest is history :D since XY regex engine has always some caveat to workaround.

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 15:58
by bdeshi
Marco wrote:Then I read the Holy Bible of regexes and found the \p{X} syntax
I got JG's RegexBuddy. At first I couldn't make the ^ or $ of the whole thing. :wink:
:P Sorry, can't resist!

Re: Regular expressions Visual Filters for Unicode character

Posted: 20 Aug 2014 16:02
by Marco
:D

Re: Regular expressions Visual Filters for Unicode character

Posted: 18 Jun 2015 22:14
by Papoulka
At first I couldn't make ^ or $ of the whole thing.
(slightly edited for colloquial English).

An instant classic! Should take its place with the elegant "two kinds of people" binary joke. Thank you Sammay.

Re: Regular expressions Visual Filters for Unicode character

Posted: 19 Jun 2015 06:16
by Garonne
SammaySarkar wrote:
Marco wrote:Then I read the Holy Bible of regexes and found the \p{X} syntax
I got JG's RegexBuddy. At first I couldn't make the ^ or $ of the whole thing. :wink:
:P Sorry, can't resist!
*grin* Have some of JG's Tools myself (RegexBuddy and RegexMagic included.)