mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 09:56:10 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -1710,7 +1710,7 @@ def parse_clipboard_for_identifier(self):
|
|||
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…
Reference in a new issue