Finding files through letter-by-letter logic

Have a suggestion for "Everything"? Please post it here.
Post Reply
Otter
Posts: 18
Joined: Sat Oct 22, 2011 10:25 am

Finding files through letter-by-letter logic

Post by Otter »

Ehm....
Also, i suggest opening some imperative searching system to the users. That is, compare atomic letters of all the searchedthrough files, by logical operators. (Isn't this done anyway on a lower level?)

A search (sure optional) would look like
CHR(1..10) >= "0" AND CHR(1..10) <= "9" AND UCAS(CHR(12)) <> "Z"

something like that. About 5 – 10 such "functions and operators" had to be provided, like char position entry "CHR", case shifting, logical IN, maybe INSTR, UNI for fetching unicode....

Regex *can* provide roughly that, but it's much harder to find way in, because, how to say, regex is analogous, tries to seek ideal correspondence. While the computer search is digital, imperative in essence. Top to down logic.
void
Developer
Posts: 17155
Joined: Fri Oct 16, 2009 11:31 pm

Re: Finding files through letter-by-letter logic

Post by void »

Interesting idea, I have thought about using lua and implementing a script: function...
Something more specialized as you mentioned might be better.
I will consider adding something like this in a future release.
Post Reply