diff --git a/.github/workflows/code_checks.yml b/.github/workflows/code_checks.yml index 3538f280b1..c916973cf0 100644 --- a/.github/workflows/code_checks.yml +++ b/.github/workflows/code_checks.yml @@ -93,7 +93,7 @@ jobs: git fetch --depth=1 origin master if git diff origin/master \ ':**.h' ':**.cpp' \ - | grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|[^"_@A-Za-z0-9]NULL[^"_A-Za-z0-9])'; then + | grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|[^"_@A-Za-z0-9]NULL([- ,;()+*/%&=!?]|$))'; then echo "::error ::Please use C++11 equivalents of the deprecated macros in the new code." exit 1 fi