Regular expressions Visual Filters for Unicode characters
Regular expressions Visual Filters for Unicode characters
- Attachments
-
Regular expressions Visual Filters for Unicode characters.xys
- (177.21 KiB) Downloaded 327 times
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]
Re: Regular expressions Visual Filters for Unicode character

Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
Re: Regular expressions Visual Filters for Unicode character
+1SammaySarkar wrote:

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]
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.
- Attachments
-
Regular Expressions Visual Filters for Unicode 0.90.xys
- (474.1 KiB) Downloaded 335 times
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]
Re: Regular expressions Visual Filters for Unicode character
This is pretty amazing actually. Not only that, the file size 

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]
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 ]
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]
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 ]
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]
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.
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!