mirror of
https://github.com/ineedbots/iw2_bot_warfare.git
synced 2025-05-12 14:34:51 +00:00
better regex
This commit is contained in:
parent
d358588c53
commit
c842ef54af
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -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
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user