Quote:
Originally Posted by davidfor
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.