mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Don't exclude slashes when parsing URLs for identifier rules
Not sure why I had excluded the slash as a valid character in the identifier. There are a few sites that do this.
This commit is contained in:
parent
aed39272af
commit
616d9bfbbb
@ -1710,7 +1710,7 @@ class IdentifiersEdit(QLineEdit, ToMetadataMixin):
|
||||
rules = msprefs['id_link_rules']
|
||||
if rules:
|
||||
formatter = EvalFormatter()
|
||||
vals = {'id' : '(?P<new_id>[^/]+)'}
|
||||
vals = {'id' : '(?P<new_id>.+)'}
|
||||
for key in rules.keys():
|
||||
rule = rules[key]
|
||||
for name, template in rule:
|
||||
|
Loading…
x
Reference in New Issue
Block a user