Sebastian Thomschke 6 éve
szülő
commit
8372e9e6ce
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;
 }