maint: avoid false positive match in check for double semicolon