View Single Post
Old 06-18-2022, 09:37 AM   #15
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 776
Karma: 1538394
Join Date: Sep 2013
Device: Kobo Forma
Quote:
Originally Posted by davidfor View Post
No, its a Regex version thing. Calibre uses Python's regex. That doesn't need the forward slash to be escaped. For others, such as PCRE, it will need to be escaped.

Again, it is the regex version. You should choose Python under "Flavor" to test calibre regex's.
I just double-checked, and you're right. I didn't know I could change the behavior of that regex101 site by changing the flavor and I think that's where I got the idea the Calibre editor didn't like those / symbols without escaping.

This has been a productive thread for me: I found a much better search/replace for fixing badly split paragraphs, I learned that I could change the behavior of the regex101 site to match Calibre's editor, and some of the search strings I use will be easier now that I won't have to escape the / character. Thanks.
enuddleyarbl is offline   Reply With Quote