From 3b5691c90f7c03ab373a2221af8534e50764b1e0 Mon Sep 17 00:00:00 2001 From: Ionite Date: Sun, 1 Oct 2023 18:47:25 -0400 Subject: [PATCH] Allow spaces in extra network tokens --- StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json b/StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json index d06b1efc..fdf0964e 100644 --- a/StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json +++ b/StabilityMatrix.Avalonia/Assets/ImagePrompt.tmLanguage.json @@ -133,7 +133,7 @@ "name": "meta.structure.network.prompt", "patterns": [ { - "match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)(:)([-+]?\\d+(?:\\.\\d+)?)", + "match": "(?<=\\<)([^,:\\<\\>]+)(:)([^,:\\<\\>]+)(:)([-+]?\\d+(?:\\.\\d+)?)", "captures": { "1": { "name": "meta.embedded.network.type.prompt" @@ -153,7 +153,7 @@ } }, { - "match": "(?<=\\<)([^,:\\<\\> ]+)(:)([^,:\\<\\> ]+)?", + "match": "(?<=\\<)([^,:\\<\\>]+)(:)([^,:\\<\\>]+)?", "captures": { "1": { "name": "meta.embedded.network.type.prompt" @@ -167,7 +167,7 @@ } }, { - "match": "(?<=\\<)([^,:\\<\\> ]+)", + "match": "(?<=\\<)([^,:\\<\\>]+)", "captures": { "1": { "name": "meta.embedded.network.type.prompt"