View Single Post
Old 04-12-2016, 07:48 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Whether you need to escape a character in a regex expression depends on the regex flavour. In this case it is Python, and the forward-slash does not need to be escaped. If it did, the search expression would be " \/ " (Space backslash forward-slash space). But, escaping an extra character doesn't usually harm.

For the last one it is " & " (Space ampersand space).

And before you do this, everyone here would recommend taking a backup of the library. Simply close calibre and take a copy of the library directory. Then, when you mess up, you can restore the backup and start again.
davidfor is offline   Reply With Quote