Extend base_xenforoforum tagsfromtitle for ')(' ']['

This commit is contained in:
Jim Miller 2022-01-18 10:54:03 -06:00
parent ea87916f4b
commit 197c6dde81
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -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