Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I use gnome-search-tool for searching files/folders. There I can put regular expression to filter through file names. I need some help with my custom filter (search).

My folders have format: myFolder[year][language].

How can I search for folders which name contains:

  • [year1] and [language1]
  • [language1] or [language2]
  • from [year1] to [year2]

gnome-search-tool and regexpr

Any help will be appreciated!

share|improve this question
2  
Did you try using a backslash to escape the brackets? \[2012\] –  Ed Manet Jan 15 '13 at 15:46
    
Yes, I did. Does not work. –  madox2 Jan 15 '13 at 15:52
    
What exactly have you tried that does not work? Escaping the brackets is surely one thing you will have to do, but if you say "does not work" it means that you are doing something else wrong. –  Andrea Corbellini Aug 26 '13 at 15:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.