This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
Can anyone tell me if it's possible to search with regexp in the find plugin ?
I mean, i know that i can do find "*.*" but, for instance a certain types of documents are named (the bold indicates what I'm searching for) : "AAAA.MM.DD - blah blah blah blah-blah [X.Y.DDD].ext"
where X and Y change and DDD is a number with 3 digits
So I searched for *\[?.?.\d\d\d\]* which is incorrect ... I tried many combinaisons and finally tried just *[?.?.???]* which works.
Is there a way to specify digit and alphabetical characters separately ?
The regex implementation used in Salamander uses predefined character classes in the [[:digit:]] format. An alternative is to use [0-9]. If you click the arrow button on the right of the 'Containing:' field, you'll find more examples and a link to help topics covering this.
Note: I think the blackslashes before the brackets should stay there.
Asterisk (*) and question mark (?) are wildcard characters. The asterisk matches any sequence of characters, whereas the question mark matches any single character. File masks contain wildcard characters (e.g. *.a? matches .a1, anything.ai, etc.) and are separated by semi-colon (e.g. *.txt;*.doc matches a.txt, b.doc, etc.). Excluded masks are placed after vertical line character (e.g. |*.txt;*.doc matches anything except *.txt;*.doc). If you need a semi-colon inside mask, type it twice (e.g. one;;mask).
When searching File content, you can search using RE's.