diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 743e850d..3f4f6608 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -776,7 +776,7 @@ add_to_replace_metadata: tagsfromtitle=>\] *\[=>, tagsfromtitle=>\) *\(=>, # for QuestionableQuesting NSFW subforum. - tagsfromtitle=>^\[NSFW\].*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g + tagsfromtitle=>^\[NSFW\].*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g # remove anything outside () or []. Note \, at the end used to # prevent looping back so '[Worm(AU)]' becomes 'Worm(AU)' not just 'AU' tagsfromtitle=>^.*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>\g\, diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index 6ed6ed39..5f61f938 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -761,7 +761,7 @@ add_to_replace_metadata: tagsfromtitle=>\] *\[=>, tagsfromtitle=>\) *\(=>, # for QuestionableQuesting NSFW subforum. - tagsfromtitle=>^\[NSFW\].*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g + tagsfromtitle=>^\[NSFW\].*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g # remove anything outside () or []. Note \, at the end used to # prevent looping back so '[Worm(AU)]' becomes 'Worm(AU)' not just 'AU' tagsfromtitle=>^.*?((?P
\[)|(?P\())(?P(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>\g\,