Sebastian Thomschke 6 anos atrás
pai
commit
8372e9e6ce
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/std/regexp.c

+ 1 - 1
src/std/regexp.c

@@ -109,7 +109,7 @@ HL_PRIM bool hl_regexp_match( ereg *e, vbyte *s, int pos, int len ) {
 	if( res >= 0 )
 		return true;
 	if( res != PCRE_ERROR_NOMATCH )
-		hl_error("An error occured while running pcre_exec");
+		hl_error("An error occurred while running pcre_exec");
 	return false;
 }