diff --git a/syntax_check.sh b/syntax_check.sh index 937f5ef..03f23d0 100755 --- a/syntax_check.sh +++ b/syntax_check.sh @@ -48,7 +48,7 @@ for i in `ls ${folder}/*/*.tex`; do if [ $ret -eq 1 ]; then failtemps=$(echo ${failtemps}+1 | bc); fi; result $ret "TEMPS" - regexpains='(\d+\smiches?)|(\d+\spains?\s(\w+\s)?\d+g)' + regexpains='(\d+\smiches?)|(\d+\spains?(\s\w+\s)*(\s?\d+g)?)' regexportions='(\d+\sportions?)' regexgateaux='(1\s(plaque)|(moule).*cm)' regexmisc='(\d+(-\d+)?\s(\w+\s)*((pièces?)|(bacs?)|(pots?)))'