浏览代码

Fix typo (#307)

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;
 }