Page 1 of 1
special character for a digit
Posted: 03 Feb 2006, 10:35
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##).
Re: special character for a digit
Posted: 03 Feb 2006, 10:53
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.
Re: special character for a digit
Posted: 03 Feb 2006, 11:17
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.
Re: special character for a digit
Posted: 03 Feb 2006, 15:10
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.
Re: special character for a digit
Posted: 03 Feb 2006, 15:23
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.
