better regex

This commit is contained in:
ineed bots 2023-12-22 01:43:17 -06:00
parent d358588c53
commit c842ef54af

View File

@ -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
/*