{"id":143,"date":"2025-07-15T13:30:38","date_gmt":"2025-07-15T04:30:38","guid":{"rendered":"https:\/\/kyum.chu.jp\/wp\/?p=143"},"modified":"2025-08-20T09:41:37","modified_gmt":"2025-08-20T00:41:37","slug":"%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be","status":"publish","type":"post","link":"https:\/\/achamaweb.tech\/?p=143","title":{"rendered":"\u6b63\u898f\u8868\u73fe"},"content":{"rendered":"\n<style>\n.table_design01 {\n  border-collapse: collapse;\n  width: 90%;\n}\n.table_design01 th, .table_design01 td {\n  border: 2px solid #fff;\n  background-color: #e6f1f6;\n  padding: 1em;\n}\n.table_design01 th {\n  background-color: #4d9bc1;\n  color: #fff;\n  font-weight: bold;\n  text-align: center;\n  width: 20%;\n  min-width: 4em;\n}\n<\/style>\n\n<table class=\"table_design01\">\n<tr>\n<th class=\"head\" rowspan=\"4\">\u691c\u7d22\u3057\u305f\u3044\u6587\u5b57\u5217<br><span>\u203b\u30af\u30ea\u30c3\u30af\u3067\u8a73\u7d30\u8aac\u660e\u306b\u79fb\u52d5<\/span><\/th>\n<th class=\"head\" rowspan=\"4\">\u6b63\u898f\u8868\u73fe<br><span>\u203b\u8d64\u3044\u5b57\u304c\u30e1\u30bf\u6587\u5b57\u3001\u30b0\u30ec\u30fc\u306e\u300c\\\u300d\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u305f\u3081\u306e\u300c\\\u300d<\/span><\/th>\n<th class=\"head\">PHP<\/th>\n<th class=\"head\">\u4f7f\u7528\u4f8b<\/th>\n<\/tr>\n<tr>\n<th class=\"head\">Java<\/th>\n<th class=\"head\">\u4f7f\u7528\u4f8b<\/th>\n<\/tr>\n<tr>\n<th class=\"head\">JavaScript<\/th>\n<th class=\"head\">\u4f7f\u7528\u4f8b<\/th>\n<\/tr>\n<tr>\n<th class=\"head\">C++ (std::regex)<\/th>\n<th class=\"head\">\u4f7f\u7528\u4f8b<\/th>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s001.html\">b\u304b\u3089\u59cb\u307e\u3063\u3066k\u3067\u7d42\u308f\u308b3\u6841\u306e\u6587\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\">b<span class=\"Cred\">.<\/span>k<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/b.k\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>&quot;b.k&quot;.matches(str)<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/b.k\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;b.k&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s002.html\">b\u304b\u3089\u59cb\u307e\u3063\u3066k\u3067\u7d42\u308f\u308b2\u6841\u4ee5\u4e0a\u306e\u6587\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\">b<span class=\"Cred\">.<\/span>k<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/b.*k\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>&quot;b.*k&quot;.matches(str)<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/b.*k\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;b.*k&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s003.html\">b\u304b\u3089\u59cb\u307e\u3063\u3066k\u3067\u7d42\u308f\u308b3\u6841\u4ee5\u4e0a\u306e\u6587\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\">b<span class=\"Cred\">.+<\/span>k<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/b.+k\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>&quot;b.+k&quot;.matches(str)<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/b.+k\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;b.+k&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s004.html\">\u534a\u89d2\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s005.html\">\u534a\u89d2\u6570\u5b57\u4ee5\u5916<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\D<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\D\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\D&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\D\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\D&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s006.html\">\u6570\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d+\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s007.html\">4\u6841\u306e\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{4}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{4}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{4}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d{4}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s008.html\">4\u6841\u4ee5\u4e0a\u306e\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">,}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{4,}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{4,}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{4,}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d{4,}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s009.html\">4\u6841\u307e\u3067\u306e\u6570\u5b57\uff081\uff5e4\u6841\u306e\u6570\u5b57\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>1<span class=\"Cred\">,<\/span>4<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{1,4}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{1,4}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{1,4}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d{1,4}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s010.html\">4\uff5e10\u6841\u306e\u6570\u5b57\uff08\u6700\u9577\u4e00\u81f4\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">,<\/span>10<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{4,10}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{4,10}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{4,10}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d{4,10}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s011.html\">4\uff5e10\u6841\u306e\u6570\u5b57\uff08\u6700\u77ed\u4e00\u81f4\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">,<\/span>10<span class=\"Cred\">}?<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{4,10}?\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{4,10}?&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{4,10}?\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d{4,10}?&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s012.html\">\u6841\u533a\u5207\u308a\u306e\u30ab\u30f3\u30de\u4ed8\u6570\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\b\\d{<\/span>1<span class=\"Cred\">,<\/span>3<span class=\"Cred\">}(,\\d{<\/span>3<span class=\"Cred\">})\\b<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\b\\d{1,3}(,\\d{3})*\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\b\\\\d{1,3}(,\\\\d{3})*\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\b\\d{1,3}(,\\d{3})*\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\b\\\\d{1,3}(,\\\\d{3})*\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s013.html\">\u4fa1\u683c\uff08\u5148\u982d\u304c\u300c\\\u300d\u306e\u6841\u533a\u5207\u308a\u4ed8\u6570\u5b57\u5217\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cgray\">&lt;\/span>&lt;span class=&#8221;Cred&#8221;>\\d{<\/span>1<span class=\"Cred\">,<\/span>3<span class=\"Cred\">}(<\/span>,<span class=\"Cred\">\\d{<\/span>3<span class=\"Cred\">})\\b<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\\\\\\\\\d{1,3}(,\\d{3})*\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\\\\\\\\\d{1,3}(,\\\\d{3})*\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\\\\\d{1,3}(,\\d{3})*\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\\\\\\\\\d{1,3}(,\\\\d{3})*\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s101.html\">\u534a\u89d2\u82f1\u5927\u6587\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\u<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[A-Z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[A-Z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[A-Z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[A-Z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s102.html\">\u534a\u89d2\u82f1\u5927\u6587\u5b57\u4ee5\u5916<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\U<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[^A-Z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[^A-Z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[^A-Z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[^A-Z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s103.html\">\u534a\u89d2\u82f1\u5c0f\u6587\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\l<\/span>\u3000\u3000\uff08\u203b&#8221;l&#8221;\u306f\u5c0f\u6587\u5b57\u306eL\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[a-z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[a-z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[a-z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[a-z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s104.html\">\u534a\u89d2\u82f1\u5c0f\u6587\u5b57\u4ee5\u5916<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\L<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[^a-z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[^a-z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[^a-z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[^a-z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s105.html\">\u534a\u89d2\u82f1\u6587\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[\\u\\l]<\/span>\u3000\u3000\uff08\u203b&#8221;l&#8221;\u306f\u5c0f\u6587\u5b57\u306eL\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[a-zA-Z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[a-zA-Z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[a-zA-Z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[a-zA-Z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s106.html\">\u534a\u89d2\u82f1\u5b57\u4ee5\u5916<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[^\\u\\l]<\/span>\u3000\u3000\uff08\u203b&#8221;l&#8221;\u306f\u5c0f\u6587\u5b57\u306eL\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[^a-zA-Z]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[^a-zA-Z]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[^a-zA-Z]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[^a-zA-Z]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s107.html\">\u82f1\u5358\u8a9e\uff08\u534a\u89d2\u82f1\u6587\u5b57\u5217\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\b[\\u\\l]+\\b<\/span>\u3000\u3000\uff08\u203b&#8221;l&#8221;\u306f\u5c0f\u6587\u5b57\u306eL\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\b[a-zA-Z]+\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\b[a-zA-Z]+\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\b[a-zA-Z]+\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\b[a-zA-Z]+\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s108.html\">\u534a\u89d2\u82f1\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[\\u\\l\\d]<\/span>\u3000\u3000\uff08\u203b&#8221;l&#8221;\u306f\u5c0f\u6587\u5b57\u306eL\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[a-zA-Z0-9]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[a-zA-Z0-9]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[a-zA-Z0-9]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[a-zA-Z0-9]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s109.html\">1\u6841\u306e\u5947\u6570<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>13579<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[13579]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[13579]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[13579]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[13579]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s110.html\">\u5947\u6570<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d[<\/span>13579<span class=\"Cred\">]\\b<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d*[13579]\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d*[13579]\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d*[13579]\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\d*[13579]\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s111.html\">3\u304b\u30897\u307e\u3067\u306e\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>3<span class=\"Cred\">\u2013<\/span>7<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[3-7]\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[3-7]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[3-7]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[3-7]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s112.html\">0-9\u3068A-F\u306e\u3044\u305a\u308c\u304b\u306e2\u6587\u5b57\uff082\u6841\u306e16\u9032\u6570\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>0<span class=\"Cred\">\u2013<\/span>9A<span class=\"Cred\">\u2013<\/span>F<span class=\"Cred\">]{<\/span>2<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[0-9A-F]{2}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[0-9A-F]{2}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[0-9A-F]{2}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[0-9A-F]{2}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s113.html\">\u5168\u89d2\u6570\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\uff10<span class=\"Cred\">\u2013<\/span>\uff19<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\uff10-\uff19]\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\uFF10-\\\\uFF19]&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\uff10-\uff19]\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\uff10-\uff19]&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s114.html\">\u5168\u89d2\u82f1\u5927\u6587\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\uff21<span class=\"Cred\">\u2013<\/span>\uff3a<span class=\"Cred\">]+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\uff21-\uff3a]+\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\uFF21-\\\\uFF3A]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\uff21-\uff3a]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\uff21-\uff3a]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s115.html\">\u3072\u3089\u304c\u306a<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\u3041<span class=\"Cred\">\u2013<\/span>\u3093<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\u3041-\u3093]+\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\u3041-\\\\u309F]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\u3041-\u3093]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\u3041-\u3093]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s116.html\">\u30ab\u30bf\u30ab\u30ca<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\u30a1<span class=\"Cred\">\u2013<\/span>\u30f4<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\u30a1-\u30f6\u30fc]+\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\u30A1-\\\\u30FC]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\u30a1-\u30f6\u30fc]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\u30a1-\u30f6\u30fc]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s117.html\">\u534a\u89d2\uff76\uff80\uff76\uff85<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\uff66<span class=\"Cred\">\u2013<\/span>\uff9f<span class=\"Cred\">]<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\uff66-\uff9f]+\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\uFF66-\\\\uFF9F]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\uff66-\uff9f]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\uff66-\uff9f]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s118.html\">\u6f22\u6570\u5b57\u5217<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[<\/span>\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341\u58f1\u5f10\u53c2\u62fe\u767e\u5343\u4e07\u842c\u5104\u5146\u3007<span class=\"Cred\">]+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341\u58f1\u5f10\u53c2\u62fe\u767e\u5343\u4e07\u842c\u5104\u5146\u3007]+\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341\u58f1\u5f10\u53c2\u62fe\u767e\u5343\u4e07\u842c\u5104\u5146\u3007]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341\u58f1\u5f10\u53c2\u62fe\u767e\u5343\u4e07\u842c\u5104\u5146\u3007]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;[\u4e00\u4e8c\u4e09\u56db\u4e94\u516d\u4e03\u516b\u4e5d\u5341\u58f1\u5f10\u53c2\u62fe\u767e\u5343\u4e07\u842c\u5104\u5146\u3007]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s201.html\">\u6539\u884c<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\n<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\n\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\n&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\n\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\n&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s202.html\">\u534a\u89d2\u30b9\u30da\u30fc\u30b9<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\x<\/span>20<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\x20\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\x20&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\x20\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\x20&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s203.html\">\u5168\u89d2\u30b9\u30da\u30fc\u30b9<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\u25a1<\/span>\u3000\u3000(\u203b\u25a1\u306f\u5168\u89d2\u30b9\u30da\u30fc\u30b9\uff09<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\u3000\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\u3000&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\u3000\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;\u3000&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s204.html\">\u30bf\u30d6\u30b3\u30fc\u30c9<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\t<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\t\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\t&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\t\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\t&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s205.html\">\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u304b\u30bf\u30d6\u30b3\u30fc\u30c9\u306e\u7e70\u308a\u8fd4\u3057<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[\\x<\/span>20<span class=\"Cred\">\\t]+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[ \\t]+\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[ \\\\t]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[ \\t]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[ \\\\t]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s206.html\">\u7a7a\u767d\u6587\u5b57<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\s<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\s\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\s&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\s\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\s&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s207.html\">sample\u3068\u3044\u3046\u6587\u5b57\u5217 \uff08\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u540c\u4e00\u8996\uff09<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(?i)<\/span>sample<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/sample\/i&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;sample&quot;, Pattern.CASE_INSENSITIVE).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/sample\/i.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;sample&quot;, regex_constants::icase))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s208.html\">sample\u3068\u3044\u3046\u6587\u5b57\u5217(sam\u306f\u5927\u5c0f\u6587\u5b57\u540c\u4e00\u8996\u3001ple\u306f\u5c0f\u6587\u5b57\u9650\u5b9a)<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(?i)<\/span>sam<span class=\"Cred\">(?-i)<\/span>ple<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/(?i)sam(?-i)ple\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;(?i)sam(?-i)ple&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/(?i)sam(?-i)ple\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;(?i)sam(?-i)ple&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s209.html\">am\u3068\u3044\u3046\u5358\u8a9e<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\b<\/span>am<span class=\"Cred\">\\b<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\bam\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\bam\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\bam\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\bam\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s210.html\">\u5358\u8a9e\u306e\u9014\u4e2d\u306b\u3042\u308bam<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\B<\/span>am<span class=\"Cred\">\\B<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\Bam\\B\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\Bam\\\\B&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\Bam\\B\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\Bam\\\\B&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s211.html\">wh\u3067\u59cb\u307e\u308b3\u6587\u5b57\u4ee5\u4e0a\u306e\u5358\u8a9e<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\b[<\/span>Ww<span class=\"Cred\">]<\/span>h<span class=\"Cred\">.+?\\b<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\b[Ww]h.+?\\b\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\b[Ww]h.+?\\\\b&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\b[Ww]h.+?\\b\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;\\\\b[Ww]h.+?\\\\b&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s212.html\">\u5927\u962a\u307e\u305f\u306f\u6771\u4eac<\/a><\/th>\n<td rowspan=\"4\">\u5927\u962a<span class=\"Cred\">|<\/span>\u6771\u4eac<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\u5927\u962a|\u6771\u4eac\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\u5927\u962a|\u6771\u4eac&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\u5927\u962a|\u6771\u4eac\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;\u5927\u962a|\u6771\u4eac&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s213.html\">\u5927\u962a\u5e9c\u307e\u305f\u306f\u5927\u962a\u5e02<\/a><\/th>\n<td rowspan=\"4\">\u5927\u962a<span class=\"Cred\">(<\/span>\u5e9c<span class=\"Cred\">|<\/span>\u5e02<span class=\"Cred\">)<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\u5927\u962a(\u5e9c|\u5e02)\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\u5927\u962a(\u5e9c|\u5e02)&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\u5927\u962a(\u5e9c|\u5e02)\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;\u5927\u962a(\u5e9c|\u5e02)&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s301.html\">\u884c\u982d\u306e\u25cb<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">^<\/span>\u25cb<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/^\u25cb\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;^\u25cb&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/^\u25cb\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;^\u25cb&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s302.html\">\u884c\u982d\u306e\u534a\u89d2\u30b9\u30da\u30fc\u30b9\u306e\u9023\u7d9a<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">^\\x<\/span>20<span class=\"Cred\">+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/^ +\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;^ +&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/^ +\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;^ +&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s303.html\">\u884c\u672b\u306e\u3002<\/a><\/th>\n<td rowspan=\"4\">\u3002<span class=\"Cred\">$\\\\\n\\\n\\\n\\\n\\\n\\\n\\\n\\\n\\\n\\\n\\\n\\\u884c\u5168\u4f53\\\\\n\\\\^.*$<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/^.*$\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;^.*$&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/^.*$\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;^.*$&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s306.html\">\u90f5\u4fbf\u756a\u53f7<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(<\/span>\u3012<span class=\"Cred\">|<\/span>ZIP\uff1a<span class=\"Cred\">)\\d{<\/span>3<span class=\"Cred\">}<\/span>\u2013<span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/(\u3012|ZIP\uff1a)\\d{3}-\\d{4}\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;(\u3012|ZIP\uff1a)\\\\d{3}-\\\\d{4}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/(\u3012|ZIP\uff1a)\\d{3}-\\d{4}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;(\u3012|ZIP\uff1a)\\\\d{3}-\\\\d{4}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s307.html\">\u96fb\u8a71\u756a\u53f7<\/a><\/th>\n<td rowspan=\"4\">0<span class=\"Cred\">\\d{<\/span>1<span class=\"Cred\">,<\/span>4<span class=\"Cred\">}<\/span>\u2013<span class=\"Cred\">\\d{<\/span>1<span class=\"Cred\">,<\/span>4<span class=\"Cred\">}<\/span>\u2013<span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/0\\d{1,4}-\\d{1,4}-\\d{4}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;0\\\\d{1,4}-\\\\d{1,4}-\\\\d{4}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/0\\d{1,4}-\\d{1,4}-\\d{4}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;0\\\\d{1,4}-\\\\d{1,4}-\\\\d{4}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s308.html\">\u643a\u5e2f\u96fb\u8a71\u756a\u53f7(\u30cf\u30a4\u30d5\u30f3\u306a\u3057)<\/a><\/th>\n<td rowspan=\"4\">0<span class=\"Cred\">[<\/span>89<span class=\"Cred\">]<\/span>0<span class=\"Cred\">\\d{<\/span>8<span class=\"Cred\">}<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/0[89]0\\d{8}\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;0[89]0\\\\d{8}&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/0[89]0\\d{8}\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;0[89]0\\\\d{8}&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s309.html\">\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">[\\w<\/span>.<span class=\"Cgray\">&lt;\/span>\u2013<span class=\"Cred\">]+<\/span>@<span class=\"Cred\">[\\w<\/span><span class=\"Cgray\">&lt;\/span>\u2013<span class=\"Cred\">]+<\/span><span class=\"Cgray\">&lt;\/span>.<span class=\"Cred\">[\\w<\/span>.<span class=\"Cgray\">&lt;\/span>\u2013<span class=\"Cred\">]+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/[\\w.-]+@[\\w-]+\\.[\\w.-]+\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;[\\\\w.-]+@[\\\\w-]+\\\\.[\\\\w.-]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/[\\w.-]+@[\\w-]+\\.[\\w.-]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;[\\\\w.-]+@[\\\\w-]+\\\\.[\\\\w.-]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s310.html\">URL\uff08\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u30a2\u30c9\u30ec\u30b9\uff09<\/a><\/th>\n<td rowspan=\"4\">https<span class=\"Cred\">?<\/span>:\/\/<span class=\"Cred\">[\\w<\/span>\/:%#<span class=\"Cgray\">&lt;\/span>$&amp;<span class=\"Cgray\">&lt;\/span>?<span class=\"Cgray\">&lt;\/span>(<span class=\"Cgray\">&lt;\/span>)~<span class=\"Cgray\">&lt;\/span>.=<span class=\"Cgray\">&lt;\/span>+<span class=\"Cgray\">&lt;\/span>\u2013<span class=\"Cred\">]+<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/https?:\\\/\\\/[\\w\\\/:%#$&amp;?\\(\\)~.=+]+\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;https?:\/\/[\\\\w\/:%#$&amp;?()~.=+]+&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/https?:\\\/\\\/[\\w\/:%#$&amp;?\\(\\)~.=+]+\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;https?:\/\/[\\\\w\/:%#$&amp;?()~.=+]+&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s311.html\">\u65e5\u4ed8<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">\\d{<\/span>4<span class=\"Cred\">}[<\/span>\/.\u5e74<span class=\"Cred\">]\\d{<\/span>1<span class=\"Cred\">,<\/span>2<span class=\"Cred\">}[<\/span>\/.\u6708<span class=\"Cred\">]\\d{<\/span>1<span class=\"Cred\">,<\/span>2<span class=\"Cred\">}<\/span>\u65e5<span class=\"Cred\">?<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/\\d{4}[\\\/.\\x{5e74}]\\d{1,2}[\\\/.\\x{6708}]\\d{1,2}\\x{65e5}?\/u&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;\\\\d{4}[\/.\u5e74]\\\\d{1,2}[\/.\u6708]\\\\d{1,2}\u65e5?&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/\\d{4}[\\\/.\\x{5e74}]\\d{1,2}[\\\/.\\x{6708}]\\d{1,2}\\x{65e5}?\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, wregex(L&quot;\\\\d{4}[\/.]\u5e74\\\\d{1,2}[\/.]\u6708\\\\d{1,2}\u65e5?&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s312.html\">\u898b\u51fa\u3057\u30bf\u30b0\u958b\u59cb\uff08h1\uff5eh3\u307e\u3067\uff09<\/a><\/th>\n<td rowspan=\"4\">&lt;<span class=\"Cred\">[<\/span>hH<span class=\"Cred\">][<\/span>1<span class=\"Cred\">\u2013<\/span>3<span class=\"Cred\">].*?<\/span>&gt;<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/&lt;[hH][1-3].*?&gt;\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;&lt;[hH][1-3].*?&gt;&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/&lt;[hH][1-3].*?&gt;\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;&lt;[hH][1-3].*?&gt;&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s313.html\">\u898b\u51fa\u3057\u30bf\u30b0\u7d42\u4e86\uff08h1\uff5eh3\u307e\u3067\uff09<\/a><\/th>\n<td rowspan=\"4\">&lt;\/<span class=\"Cred\">[hH][<\/span>1<span class=\"Cred\">\u2013<\/span>3<span class=\"Cred\">]<\/span>&gt;<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/&lt;\\\/[hH][1-3]&gt;\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;&lt;\\\\\/[hH][1-3]&gt;&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/&lt;\\\/[hH][1-3]&gt;\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;&lt;\\\\\/[hH][1-3]&gt;&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s401.html\">sample \u306e\u4e2d\u306e sam<\/a><\/th>\n<td rowspan=\"4\">sam<span class=\"Cred\">(?=<\/span>ple<span class=\"Cred\">)<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/sam(?=ple)\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;sam(?=ple)&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/sam(?=ple)\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;sam(?=ple)&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s402.html\">sample \u304b samba \u306e\u4e2d\u306e sam<\/a><\/th>\n<td rowspan=\"4\">sam<span class=\"Cred\">(?=<\/span>ple<span class=\"Cred\">|<\/span>ba<span class=\"Cred\">)<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/sam(?=ple|ba)\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;sam(?=ple|ba)&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/sam(?=ple|ba)\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;sam(?=ple|ba)&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s403.html\">\u5f8c\u308d\u304c\u300cple\u300d\u3067\u306f\u306a\u3044\u300csam\u300d<\/a><\/th>\n<td rowspan=\"4\">sam<span class=\"Cred\">(?!<\/span>ple<span class=\"Cred\">)<\/span><\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/sam(?!ple)\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;sam(?!ple)&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/sam(?!ple)\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;sam(?!ple)&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s404.html\">sample \u306e\u4e2d\u306e ple<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(?<=<\/span>sam<span class=\"Cred\">)<\/span>ple<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/(?&lt;=sam)ple\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;(?&lt;=sam)ple&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/(?&lt;=sam)ple\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;(?&lt;=sam)ple&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s405.html\">sample \u304b apple \u306e\u4e2d\u306e ple<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(?<=<\/span>sam<span class=\"Cred\">|<\/span>ap<span class=\"Cred\">)<\/span>ple<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/(?&lt;=sam|ap)ple\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;(?&lt;=sam|ap)ple&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/(?&lt;=sam|ap)ple\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;(?&lt;=sam|ap)ple&quot;))<\/td>\n<\/tr>\n<tr>\n<th rowspan=\"4\"><a href=\"s406.html\">\u524d\u304c\u300csa\uff4d\u300d\u304b\u300cap\u300d\u4ee5\u5916\u306e \u300cple\u300d<\/a><\/th>\n<td rowspan=\"4\"><span class=\"Cred\">(?<!<\/span>sam<span class=\"Cred\">|<\/span>ap<span class=\"Cred\">)<\/span>ple<\/td>\n<th>PHP<\/th>\n<td>preg_match(&#39;\/(?&lt;!sam|ap)ple\/&#39;, $str)<\/td>\n<\/tr>\n<tr>\n<th>Java<\/th>\n<td>Pattern.compile(&quot;(?&lt;!sam|ap)ple&quot;).matcher(str).find()<\/td>\n<\/tr>\n<tr>\n<th>JavaScript<\/th>\n<td> \/(?&lt;!sam|ap)ple\/.test(str)<\/td>\n<\/tr>\n<tr>\n<th>C++<\/th>\n<td>regex_search(str, regex(&quot;(?&lt;!sam|ap)ple&quot;))<\/td>\n<\/tr>\n<\/table>\n\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u691c\u7d22\u3057\u305f\u3044\u6587\u5b57\u5217\u203b\u30af\u30ea\u30c3\u30af\u3067\u8a73\u7d30\u8aac\u660e\u306b\u79fb\u52d5 \u6b63\u898f\u8868\u73fe\u203b\u8d64\u3044\u5b57\u304c\u30e1\u30bf\u6587\u5b57\u3001\u30b0\u30ec\u30fc\u306e\u300c\\\u300d\u306f\u30a8\u30b9\u30b1\u30fc\u30d7\u306e\u305f\u3081\u306e\u300c\\\u300d PHP \u4f7f\u7528\u4f8b Java \u4f7f\u7528\u4f8b JavaScript \u4f7f\u7528\u4f8b C++ (std::regex) \u4f7f\u7528\u4f8b  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-other"],"acf":[],"_links":{"self":[{"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=143"}],"version-history":[{"count":7,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":332,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=\/wp\/v2\/posts\/143\/revisions\/332"}],"wp:attachment":[{"href":"https:\/\/achamaweb.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/achamaweb.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}