10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 2,495: | Line 2,495: | ||
pronoun = pronoun .. prep | pronoun = pronoun .. prep | ||
for _, regex in ipairs(regex_list) do | for _, regex in ipairs(regex_list) do | ||
if mw.ustring.match(pronoun, regex .. prep .. "$") then | if mw.ustring.match(pronoun, regex .. prep .. "$") and not (mw.ustring.match(regex, "^u") and mw.ustring.match(pronoun, "a" .. regex .. prep .. "$")) then | ||
pronoun = mw.ustring.gsub(pronoun, regex .. prep .. "$", args[regex]) | pronoun = mw.ustring.gsub(pronoun, regex .. prep .. "$", args[regex]) | ||
break | break |