Skip to content
Snippets Groups Projects
Commit 49c42787 authored by brickode's avatar brickode
Browse files

Regex apparently needs escaping

parent 177e0c00
No related branches found
No related tags found
No related merge requests found
......@@ -114,9 +114,9 @@ $GREP "span class=[^\"\']" -- src/*.js ':!src/001-lib/Jquery/Jquery.js' | myprin
$GREP "\$\(PC\|activeSlave\|slaves\|tanks\)[.][^a-zA-Z]" | myprint "UnexpectedCharAfterDot"
)
# Check for lines with only "let"
$GREP [^A-Za-z]let(\r|\n) | myprint "WrongLetStyle"
$GREP '[^A-Za-z]let(\r|\n)' | myprint "WrongLetStyle"
# Check for lines with only "const"
$GREP const(\r|\n) | myprint "WrongConstStyle"
$GREP 'const(\r|\n)' | myprint "WrongConstStyle"
# Check that all the tags are properly opened and closed & a lot of other stuff
java -jar devTools/javaSanityCheck/SanityCheck.jar
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment