From: K.Kosako Date: Thu, 27 Jun 2019 08:45:15 +0000 (+0900) Subject: add the fact that onig_new_deluxe() is obsolete X-Git-Tag: v6.9.3~68 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d545fc7cb287c32db8f2ab181b4d1f449621482;p=onig add the fact that onig_new_deluxe() is obsolete --- diff --git a/doc/API b/doc/API index 2309e5e..bc72e72 100644 --- a/doc/API +++ b/doc/API @@ -1,4 +1,4 @@ -Oniguruma API Version 6.9.2 2019/03/25 +Oniguruma API Version 6.9.3 2019/06/27 #include @@ -168,6 +168,10 @@ Oniguruma API Version 6.9.2 2019/03/25 # int onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo) + From 6.9.3: + This function is obsolete, and it does not allow the case where + the encoding of pattern and target is different. + Create a regex object. This function is deluxe version of onig_new(). diff --git a/doc/API.ja b/doc/API.ja index 164d0b8..a7e597c 100644 --- a/doc/API.ja +++ b/doc/API.ja @@ -1,4 +1,4 @@ -鬼車インターフェース Version 6.9.2 2019/03/29 +鬼車インターフェース Version 6.9.3 2019/06/27 #include @@ -167,6 +167,11 @@ # int onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigCompileInfo* ci, OnigErrorInfo* einfo) + 6.9.3から: + この関数は廃止された。 + パターンと対象文字列の文字エンコーディングが異なる場合を許さなくなった。 + + 正規表現オブジェクト(regex)を作成する。 この関数は、onig_new()のデラックス版。