mirror of
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git
synced 2026-02-07 00:30:09 +00:00
Small regex fix to make style completion work after [ or before ,
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const STYLE_REGEX = /(\$(\d*)\(?)[^$|\]\s]*\)?/;
|
||||
const STYLE_REGEX = /(\$(\d*)\(?)[^$|\[\],\s]*\)?/;
|
||||
const STYLE_TRIGGER = () => TAC_CFG.useStyleVars && tagword.match(STYLE_REGEX);
|
||||
|
||||
var lastStyleVarIndex = "";
|
||||
|
||||
Reference in New Issue
Block a user