mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-20 05:23:12 +02:00
Fix #7147 (Auto merge books not respecting article sort tweak)
This commit is contained in:
parent
eafc6e72c1
commit
0559826083
1 changed files with 2 additions and 2 deletions
|
|
@ -748,10 +748,10 @@ def has_book(self, mi):
|
|||
return False
|
||||
|
||||
def find_identical_books(self, mi):
|
||||
fuzzy_title_patterns = [(re.compile(pat), repl) for pat, repl in
|
||||
fuzzy_title_patterns = [(re.compile(pat, re.IGNORECASE), repl) for pat, repl in
|
||||
[
|
||||
(r'[\[\](){}<>\'";,:#]', ''),
|
||||
(r'^(the|a|an) ', ''),
|
||||
(tweaks.get('title_sort_articles', r'^(a|the|an)\s+'), ''),
|
||||
(r'[-._]', ' '),
|
||||
(r'\s+', ' ')
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue