Quote:
Originally Posted by ownedbycats
What if the user could input a custom regex?
|
I was able to get some regex help, and someone came up with the following, which seems to work nicely with a lot of the corner cases I've seen in my eBooks.
https://regex101.com/r/UomIXo/2
Thoughts?
Edit: Although, I just realized that above regex uses the PCRE2 flavor. But am I understanding correctly that Calibre uses this?
https://bitbucket.org/mrabarnett/mrab-regex/src/hg/ (Per this page:
https://manual.calibre-ebook.com/regexp.html)