From 0c743d3a996a92d1bbe4d9283a3d3fc5ad93dff3 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Wed, 20 Dec 2023 17:34:30 -0600 Subject: [PATCH] multiline grep --- .vscode/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ba011ba..b48fa9d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,7 +15,7 @@ } // use below to verify no single line blocks with no braces -// $ egrep -ron "^\s*(if|while|for|switch).*\)\s*[\r\n]+\s*[^\s{]" --include \*.gsc ./ +// /^\s*(if|while|for|switch|else) .*\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 "\[\]"