Modified: phpdoc/ja/trunk/appendices/ini.xml =================================================================== --- phpdoc/ja/trunk/appendices/ini.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/appendices/ini.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1667,7 +1667,7 @@ mbstring.func_overload "0" - PHP_INI_PERDIR + PHP_INI_SYSTEM PHP <= 4.2.3 では PHP_INI_SYSTEM。 PHP 4.3 から PHP 5.2.6 ではPHP_INI_SYSTEM | PHP_INI_PERDIR。 PHP 4.2.0 以降で利用可能。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-convert-kana.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-convert-kana.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-convert-kana.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -13,7 +13,7 @@ stringmb_convert_kana stringstr - stringoption + stringoption"KV" stringencoding @@ -39,11 +39,10 @@ option - 変換オプション。デフォルト値は "KV" です。 + 変換オプション。 - 以下のオプションを組み合わせて指定します。デフォルト値は - KV です。 + 以下のオプションを組み合わせて指定します。 使用可能な変換オプション Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-init.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-init.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-init.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -50,7 +50,7 @@ option - 検索オプション。デフォルトは 'ms'。 + 検索オプション。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-pos.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -40,7 +40,7 @@ option - 検索オプション。デフォルトは 'ms'。 + 検索オプション。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search-regs.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -36,7 +36,7 @@ option - 検索オプション。デフォルトは 'ms'。 + 検索オプション。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-ereg-search.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -36,7 +36,7 @@ option - 検索オプション。デフォルトは 'ms'。 + 検索オプション。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-regex-set-options.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-regex-set-options.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-regex-set-options.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -28,8 +28,101 @@ options - 設定するオプション。 + 設定するオプション。文字列で設定し、各文字がオプションを表します。 + モードを設定する際には、モード文字は最後に指定しなければなりません。 + オプションは複数指定できますが、モードはひとつしか指定できません。 + +
+ Regex のオプション + + + + オプション + 意味 + + + + + i + 曖昧なマッチをオンにする + + + x + 拡張パターン形式を有効にする + + + m + '.' が改行にマッチする + + + s + '^' -> '\A', '$' -> '\Z' + + + p + m と s を両方指定するのと同じ + + + l + 最も長くマッチするものを探す + + + n + 空のマッチを無視する + + + e + 結果のコードを eval する + + + +
+ + Regex 構文モード + + + + モード + 意味 + + + + + j + Java (Sun java.util.regex) + + + u + GNU regex + + + g + grep + + + c + Emacs + + + r + Ruby + + + z + Perl + + + b + POSIX Basic regex + + + d + POSIX Extended regex + + + +
Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-strimwidth.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-strimwidth.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-strimwidth.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + mb_strimwidth @@ -86,7 +86,8 @@ "); +echo mb_strimwidth("Hello World", 0, 10, "..."); +// Hello W... と出力します ?> ]]> Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-stristr.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-stristr.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-stristr.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + mb_stristr @@ -15,7 +15,7 @@ stringmb_stristr stringhaystack stringneedle - boolpart + boolpartfalse stringencoding @@ -58,7 +58,6 @@ needle が最初に現れる位置までを返します。 &false; の場合は、needle が最初に現れる位置から haystack の最後までを返します。 - デフォルト値は &false; です。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-strrchr.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-strrchr.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-strrchr.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + mb_strrchr @@ -12,7 +12,7 @@ stringmb_strrchr stringhaystack stringneedle - boolpart + boolpartfalse stringencoding @@ -53,7 +53,6 @@ needle が最後に現れる位置までを返します。 &false; の場合は、needle が最後に現れる位置から haystack の最後までを返します。 - デフォルト値は &false; です。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-strrichr.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-strrichr.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-strrichr.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + mb_strrichr @@ -15,7 +15,7 @@ stringmb_strrichr stringhaystack stringneedle - boolpart + boolpartfalse stringencoding @@ -58,7 +58,6 @@ needle が最後に現れる位置までを返します。 &false; の場合は、needle が最後に現れる位置から haystack の最後までを返します。 - デフォルト値は &false; です。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-strstr.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-strstr.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-strstr.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + mb_strstr @@ -12,7 +12,7 @@ stringmb_strstr stringhaystack stringneedle - boolpart + boolpartfalse stringencoding @@ -53,7 +53,6 @@ needle が最初に現れる位置までを返します。 &false; の場合は、needle が最初に現れる位置から haystack の最後までを返します。 - デフォルト値は &false; です。 Modified: phpdoc/ja/trunk/reference/mbstring/functions/mb-substitute-character.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/functions/mb-substitute-character.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/functions/mb-substitute-character.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -45,9 +45,14 @@ - "long" : 文字コードの値 (例: U+3000,JIS+7E7E) を出力する + "long" : 文字コードの値 (例: U+3000, JIS+7E7E) を出力する + + + "entity" : 文字エンティティ (例: Ȁ) を出力する + +
Modified: phpdoc/ja/trunk/reference/mbstring/ini.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/ini.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/ini.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - +
&reftitle.runtime; @@ -63,8 +63,10 @@ mbstring.func_overload "0" - PHP_INI_PERDIR - PHP 4.2.0 から利用可能で、PHP <= 4.2.3 は PHP_INI_SYSTEM です。 + PHP_INI_SYSTEM + PHP <= 4.2.3 では PHP_INI_SYSTEM。 + PHP 4.3 から PHP 5.2.6 では PHP_INI_SYSTEM | PHP_INI_PERDIR。 + PHP 4.2.0 から利用可能です。 mbstring.encoding_translation Modified: phpdoc/ja/trunk/reference/mbstring/overloading.xml =================================================================== --- phpdoc/ja/trunk/reference/mbstring/overloading.xml 2010-04-09 17:46:22 UTC (rev 297764) +++ phpdoc/ja/trunk/reference/mbstring/overloading.xml 2010-04-09 18:05:12 UTC (rev 297765) @@ -1,6 +1,6 @@ - + @@ -77,6 +77,31 @@ 2 + stripos + mb_stripos + + + 2 + strripos + mb_strripos + + + 2 + strstr + mb_strstr + + + 2 + stristr + mb_stristr + + + 2 + strrchr + mb_strrchr + + + 2 substr_count mb_substr_count