Closes #4187 [FEATURE_REQUEST] Allow wildcards in Banned Strings List
| @@ -423,7 +423,8 @@ function getCustomTokenBans() { | ||
| 423 | 423 | .concat(settings.global_banned_tokens.split('\n')) |
| 424 | 424 | .concat(textgenerationwebui_banned_in_macros) |
| 425 | 425 | .filter(x => x.length > 0) |
| 426 | 426 | .filter(onlyUnique); |
| 427 | + .map(x => substituteParams(x)); | |
| 427 | 428 | |
| 428 | 429 | //debug |
| 429 | 430 | if (textgenerationwebui_banned_in_macros.length) { |