special character for a digit

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
User avatar
mazy
Posts: 57
Joined: 27 Jan 2006, 22:48
Location: Brno, Czech Republic

special character for a digit

Post by mazy »

i would like to be able to use special character for a digit in 'masks priority list' and 'viewers & editors' (and not only standard wildcards using * and ? characters).

at the moment, there's support for such a character (#) in the archivers selection of config (for specifiying for example rar files as .rar;.r##).
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Re: special character for a digit

Post by cincura.net »

mazy wrote:i would like to be able to use special character for a digit in 'masks priority list' and 'viewers & editors' (and not only standard wildcards using * and ? characters).
I suggest to use regular expressions. It would be more useful than some special chars.
Jiri {x2} Cincura
User avatar
mazy
Posts: 57
Joined: 27 Jan 2006, 22:48
Location: Brno, Czech Republic

Re: special character for a digit

Post by mazy »

cincura.net wrote:I suggest to use regular expressions. It would be more useful than some special chars.
for the things i want it for? well i don't think that would happen, plus it would be a little overkill. i would be happy enough with '#' for the time being.
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: special character for a digit

Post by Jan Patera »

cincura.net wrote: I suggest to use regular expressions. It would be more useful than some special chars.
Indeed, that would be overkill with unexpected side effects, like in viewer plugins. Those plugins instantly keep their "View next/prev" buttons enabled/disabled depending on whether there is something available. Using regular expressions could slow them down siginifficantly. Even 100ms is *a lot*. This time can be easily achieved on moderately fast computer when you have a thousand files in a single folder (windows system folder, folder with some job data etc.) and only few of them viewable with given viewer.
cincura.net
Posts: 593
Joined: 09 Dec 2005, 17:30
Location: a step further
Contact:

Re: special character for a digit

Post by cincura.net »

Jan Patera wrote: Indeed, that would be overkill with unexpected side effects, like in viewer plugins. Those plugins instantly keep their "View next/prev" buttons enabled/disabled depending on whether there is something available. Using regular expressions could slow them down siginifficantly. Even 100ms is *a lot*. This time can be easily achieved on moderately fast computer when you have a thousand files in a single folder (windows system folder, folder with some job data etc.) and only few of them viewable with given viewer.
Yes, but RE is more universal and more powerful tool how to match files - more powerful than some special chars. But I know about the problem with speed. Maybe user should turn on this option with expert mode. ;)
Jiri {x2} Cincura
Post Reply