View Single Post
Old 07-25-2014, 04:58 PM   #11
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Inferno View Post
Thank you for the help. I have been able to find most what I need with using "~\ssearchtext\s" however I am having problems figuring how to search for ( or ) with regex. I tried escaping them with \( but it didn't work. Any suggestions?
When you search in calibre you are talking to two processors, calibre and regular expression parsing. If you are trying to escape regular expression metacharacters use two backslashes. The first will be eaten by the calibre parser, and the second by the regular expression parser.
chaley is offline   Reply With Quote