X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=common%2Fscripts%2Fgblint.pl;h=afde47c303dff9a59007c67da95e0c35f1fc1ef2;hp=996c21d087c43a858535a8078550016ecd9997c1;hb=HEAD;hpb=a64bd94618e42e142b434220262efe5b9084e164 diff --git a/common/scripts/gblint.pl b/common/scripts/gblint.pl index 996c21d..afde47c 100755 --- a/common/scripts/gblint.pl +++ b/common/scripts/gblint.pl @@ -283,7 +283,7 @@ while( my $line = <> ) { if( $line =~ /[^>](CLOSE\sCOMBAT\sSKILL)/ || $line =~ /(CLOSE\s+COMBAT\s+SKILL)[^<]/ ) { &printError( "ne", $currentSection, $lineNumber, "possible missing markup", "$1", "$1" ); } - if( $line =~ /[^>](ENDURANCE)/ || $line =~ /(ENDURANCE)[^<]/ ) { + if( $line =~ /[^>](ENDURANCE)/ || $line =~ /(ENDURANCE)(?! Points)[^<]/ ) { &printError( "ne", $currentSection, $lineNumber, "possible missing markup", "ENDURANCE", "ENDURANCE" ); } if( $line =~ /[^>](WILLPOWER)/ || $line =~ /(WILLPOWER)[^<]/ ) { @@ -299,7 +299,7 @@ while( my $line = <> ) { } ##### Others - if( $line =~ m{