From c842ef54afdd6564874df7b2c8083946a12d23d9 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Fri, 22 Dec 2023 01:43:17 -0600 Subject: [PATCH] better regex --- .vscode/settings.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3efa150..17fcd69 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,10 +15,10 @@ } // use below to verify no single line blocks with no braces -// /^\s*(if|while|for|switch|else).*\s*[\r\n]+\s*[^\s{]/gm +// /^\s*(if|while|for|switch|else)(?!\w).*\s*[\r\n]+\s*[^\s{]/gm // use below to verify array indexing spacing style -// $ egrep -ron "(\[\S|\S\])" --include \*.gsc ./ | egrep -v "\[\[" | egrep -v "\]\]" | egrep -v "\[\]" +// $ egrep -ron "(\[\S|\S\])" --include \*.gsc ./ | egrep -v "\[\[" | egrep -v "\]\]" | egrep -v "\[\]" | egrep -v "\[\{" | egrep -v "\}\]" // python script for casing fixes i did /*