mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-29 20:24:55 +01:00
Extend base_xenforoforum tagsfromtitle for ')(' ']['
This commit is contained in:
parent
ea87916f4b
commit
197c6dde81
2 changed files with 6 additions and 0 deletions
|
|
@ -712,6 +712,9 @@ add_to_replace_metadata:
|
|||
# previous version's include_metadata_pre Can't do on tagsfromtitle
|
||||
# because that's applied to each part after split.
|
||||
tagsfromtitledetect=>^[^\]\)]+$=>
|
||||
# change ][ and )( to , for [AU][Othertag] etc
|
||||
tagsfromtitle=>\] *\[=>,
|
||||
tagsfromtitle=>\) *\(=>,
|
||||
# for QuestionableQuesting NSFW subforum.
|
||||
tagsfromtitle=>^\[NSFW\].*?((?P<br>\[)|(?P<pr>\())(?P<tag>(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g<tag>
|
||||
# remove anything outside () or []. Note \, at the end used to
|
||||
|
|
|
|||
|
|
@ -730,6 +730,9 @@ add_to_replace_metadata:
|
|||
# previous version's include_metadata_pre Can't do on tagsfromtitle
|
||||
# because that's applied to each part after split.
|
||||
tagsfromtitledetect=>^[^\]\)]+$=>
|
||||
# change ][ and )( to , for [AU][Othertag] etc
|
||||
tagsfromtitle=>\] *\[=>,
|
||||
tagsfromtitle=>\) *\(=>,
|
||||
# for QuestionableQuesting NSFW subforum.
|
||||
tagsfromtitle=>^\[NSFW\].*?((?P<br>\[)|(?P<pr>\())(?P<tag>(?(br)[^\]]|(?(pr)[^\)]))+)(?(br)\]|(?(pr)\))).*?$=>NSFW\,\g<tag>
|
||||
# remove anything outside () or []. Note \, at the end used to
|
||||
|
|
|
|||
Loading…
Reference in a new issue