Fixed regex for alias_settings_mob_keywords_set to allow an empty keyword string

main
AreiaAard 4 years ago
parent 121719ccbd
commit 7694725eac

@ -180,7 +180,7 @@ function Settings.initialize()
"Settings.mob_keywords_display_single" "Settings.mob_keywords_display_single"
) )
AddAlias("alias_settings_mob_keyword_set", AddAlias("alias_settings_mob_keyword_set",
"^ac\\s+keywords?\\s+(?<mob>[^\"]+?)\\s+\"(?<keywords>[\\w\\s]+)\"$", "", "^ac\\s+keywords?\\s+(?<mob>[^\"]+?)\\s+\"(?<keywords>[\\w\\s]*)\"$", "",
alias_flag.Enabled + alias_flag.IgnoreAliasCase + alias_flag.RegularExpression + alias_flag.Temporary, alias_flag.Enabled + alias_flag.IgnoreAliasCase + alias_flag.RegularExpression + alias_flag.Temporary,
"Settings.mob_keywords" "Settings.mob_keywords"
) )

Loading…
Cancel
Save