Sebastian Thomschke 6 년 전
부모
커밋
8372e9e6ce
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
 }