{"id":42153,"date":"2016-08-31T00:29:04","date_gmt":"2016-08-30T15:29:04","guid":{"rendered":"http:\/\/www.softantenna.com\/wp\/?p=42153"},"modified":"2016-08-31T00:29:04","modified_gmt":"2016-08-30T15:29:04","slug":"simple-regex-language","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/simple-regex-language\/","title":{"rendered":"Simple Regex Language - \u8907\u96d1\u306a\u6b63\u898f\u8868\u73fe\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u8a18\u8ff0\u3067\u304d\u308b\u5c02\u7528\u8a00\u8a9e"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/08\/s_20160830_194519.jpg\" alt=\"S 20160830 194519\" title=\"s_20160830_194519.jpg\" border=\"0\" width=\"801\" height=\"432\" \/><\/p>\n<p>\u7279\u6b8a\u306a\u8868\u8a18\u3092\u4f7f\u7528\u3057\u3066\u591a\u69d8\u306a\u6587\u5b57\u5217\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u30de\u30c3\u30c1\u3059\u308b\u8868\u73fe\u3092\u8a18\u8ff0\u3067\u304d\u308b\u300c\u6b63\u898f\u8868\u73fe\u300d\u3002\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u7528\u3067\u304d\u308b\u958b\u767a\u8005\u306e\u6570\u306f\u304b\u306a\u308a\u591a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u67d4\u8edf\u6027\u304c\u9ad8\u3044\u53cd\u9762\u3001\u8907\u96d1\u306a\u6b63\u898f\u8868\u73fe\u3092\u8aad\u307f\u3053\u306a\u3059\u306e\u306f\u5927\u5909\u3067\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u6b63\u898f\u8868\u73fe\u304c\u4f55\u3092\u610f\u5473\u3057\u3066\u3044\u308b\u306e\u304b\u76f4\u611f\u7684\u306b\u7406\u89e3\u3067\u304d\u308b\u65b9\u306f\u5c11\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre>\/^(?:[0-9]|[a-z]|[\\._%\\+-])+(?:@)(?:[0-9]|[a-z]|[\\.-])+(?:\\.)[a-z]{2,}$\/i<\/pre>\n<p>\u672c\u65e5\u7d39\u4ecb\u3059\u308b\u300c<a href=\"https:\/\/simple-regex.com\/\">SRL - Simple Regex Language<\/a>\u300d\u306f\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3059\u3079\u304d\u958b\u767a\u3055\u308c\u3066\u3044\u308b\u3001\u6b63\u898f\u8868\u73fe\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e\u5c02\u7528\u8a00\u8a9e\u3067\u3059\u3002<\/p>\n<h2>SRL\u306e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9<\/h2>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2016\/08\/s_20160830_195525.jpg\" alt=\"S 20160830 195525\" title=\"s_20160830_195525.jpg\" border=\"0\" width=\"1025\" height=\"633\" \/><\/p>\n<p>SRL\u3067\u306f\u72ec\u81ea\u306e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u306b\u57fa\u3065\u304d\u6b63\u898f\u8868\u73fe\u3092\u8a18\u8ff0\u3057\u3001\u305d\u308c\u306b\u5bfe\u5fdc\u3059\u308b\u6b63\u898f\u8868\u73fe\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b5\u30f3\u30d7\u30eb\u304c\u63b2\u8f09\u3055\u308c\u3066\u307e\u3059\u3002<\/p>\n<pre>begin with either of (number, letter, one of \"._%+-\") once or more,\nliterally \"@\",\neither of (number, letter, one of \".-\") once or more,\nliterally \".\",\nletter at least 2 times,\nmust end, case insensitive<\/pre>\n<p>\u25b2SRL\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u306b\u3088\u308b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u6b63\u898f\u8868\u73fe<\/p>\n<pre>\/^(?:[0-9]|[a-z]|[\\._%\\+\\-])+(?:@)(?:[0-9]|[a-z]|[\\.\\-])+(?:\\.)[a-z]{2,}$\/i\n<\/pre>\n<p>\u25b2\u4e0a\u8a18SRL\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u304b\u3089\u751f\u6210\u3055\u308c\u305f\u6b63\u898f\u8868\u73fe<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5358\u7d14\u306a\u30de\u30c3\u30c1\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u62ec\u5f27\u3092\u4f7f\u3063\u305f\u90e8\u5206\u6587\u5b57\u5217\u306e\u30ad\u30e3\u30d7\u30c1\u30e3\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u3066\u3001\u305d\u306e\u30b5\u30f3\u30d7\u30eb\u3082\u63b2\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u5b9f\u969b\u306bSRL\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u516c\u958b\u3055\u308c\u3066\u3044\u308b<a href=\"https:\/\/simple-regex.com\/build\">\u6b63\u898f\u8868\u73fe\u306e\u30d3\u30eb\u30c9\u6a5f\u80fd<\/a>\u3092\u4f7f\u7528\u3057\u3001\u751f\u6210\u3055\u308c\u305f\u6b63\u898f\u8868\u73fe\u3092\u30b3\u30d4\u30fc\u3057\u3066\u7d44\u307f\u8fbc\u3080\u304b\u3001PHP 7\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306a\u3089\u3070SRL\u3092\u76f4\u63a5\u7d44\u307f\u8fbc\u3093\u3067\u5168\u3066\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u6b63\u898f\u8868\u73fe\u306b\u3042\u308b\u7a0b\u5ea6\u89aa\u3057\u3093\u3067\u3044\u308b\u65b9\u306e\u5834\u5408\u3001Simple Regex Language\u3092\u4f7f\u3063\u3066\u5b9f\u969b\u306e\u4f5c\u696d\u304c\u697d\u306b\u306a\u308b\u304b\u3069\u3046\u304b\u5fae\u5999\u306a\u3068\u3053\u308d\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3088\u308a\u5206\u304b\u308a\u3084\u3059\u3044\u8868\u73fe\u65b9\u6cd5\u3092\u63a2\u6c42\u3059\u308b\u8208\u5473\u6df1\u3044\u8a66\u307f\u3068\u306f\u3044\u3048\u305d\u3046\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=12384862\">Hacker News<\/a>\u3067\u306fSRL\u3068\u985e\u4f3c\u3057\u305f\u3001\u6b63\u898f\u8868\u73fe\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u8a18\u8ff0\u3059\u308b\u305f\u3081\u306e\u30c4\u30fc\u30eb\u3078\u306e\u30ea\u30f3\u30af\u304c\u591a\u6570\u63b2\u8f09\u3055\u308c\u3066\u304a\u308a\u3001\u6b63\u898f\u8868\u73fe\u306e\u7f6e\u304d\u63db\u3048\u304c\u6b63\u3057\u3044\u3053\u3068\u306a\u306e\u304b\u3068\u3044\u3063\u305f\u4e8b\u3082\u542b\u3081\u3066\u71b1\u3044\u8b70\u8ad6\u304c\u4ea4\u308f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u53c2\u7167\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7279\u6b8a\u306a\u8868\u8a18\u3092\u4f7f\u7528\u3057\u3066\u591a\u69d8\u306a\u6587\u5b57\u5217\u306e\u30d1\u30bf\u30fc\u30f3\u306b\u30de\u30c3\u30c1\u3059\u308b\u8868\u73fe\u3092\u8a18\u8ff0\u3067\u304d\u308b\u300c\u6b63\u898f\u8868\u73fe\u300d\u3002\u3055\u307e\u3056\u307e\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001\u6b63\u898f\u8868\u73fe\u3092\u4f7f\u7528\u3067\u304d\u308b\u958b\u767a\u8005\u306e\u6570\u306f\u304b\u306a\u308a\u591a\u3044\u3068\u601d\u308f\u308c\u307e\u3059\u3002 \u305f\u3060\u3057\u67d4\u8edf\u6027\u304c\u9ad8\u3044\u53cd\u9762\u3001 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":42154,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3459],"tags":[172,3650,1245],"class_list":["post-42153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-review","tag-php","tag-php7","tag-regex"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/42153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=42153"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/42153\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/42154"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=42153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=42153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=42153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}