Sebastian Thomschke hace 6 años
padre
commit
8372e9e6ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 }