Regular expressions Visual Filters for Unicode characters
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Regular expressions Visual Filters for Unicode characters
To see the attached files, you need to log into the forum.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Regular expressions Visual Filters for Unicode character
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: Regular expressions Visual Filters for Unicode character
+1SammaySarkar wrote:
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Regular expressions Visual Filters for Unicode character
Btw, I'm currently fixing some awful mistakes, will post a definitive version tomorrow.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Regular expressions Visual Filters for Unicode character
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.
To see the attached files, you need to log into the forum.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: Regular expressions Visual Filters for Unicode character
This is pretty amazing actually. Not only that, the file size 
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Regular expressions Visual Filters for Unicode character
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Regular expressions Visual Filters for Unicode character
The most amazing thing here is how Marco managed to write it without being hospitalized for severely traumatic headache.
I get those just by peering inside the code. Even with one eye closed.
I get those just by peering inside the code. Even with one eye closed.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Regular expressions Visual Filters for Unicode character
Let's just say that it's an unusually rainy summer here, and I get bored pretty quickly
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
since XY regex engine has always some caveat to workaround.
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
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Regular expressions Visual Filters for Unicode character
I got JG's RegexBuddy. At first I couldn't make the ^ or $ of the whole thing.Marco wrote:Then I read the Holy Bible of regexes and found the \p{X} syntax
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Marco
- Posts: 2354
- Joined: 27 Jun 2011 15:20
Re: Regular expressions Visual Filters for Unicode character
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Regular expressions Visual Filters for Unicode character
(slightly edited for colloquial English).At first I couldn't make ^ or $ of the whole thing.
An instant classic! Should take its place with the elegant "two kinds of people" binary joke. Thank you Sammay.
-
Garonne
- Posts: 195
- Joined: 21 Apr 2015 19:10
- Location: Win11, 100% Scaling
- Contact:
Re: Regular expressions Visual Filters for Unicode character
*grin* Have some of JG's Tools myself (RegexBuddy and RegexMagic included.)SammaySarkar wrote:I got JG's RegexBuddy. At first I couldn't make the ^ or $ of the whole thing.Marco wrote:Then I read the Holy Bible of regexes and found the \p{X} syntax![]()
Sorry, can't resist!
XYplorer Beta Club