{"id":383824,"date":"2024-06-29T05:07:35","date_gmt":"2024-06-29T05:07:35","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=383824"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=383824","title":{"rendered":"<span>Regex for lazy developers<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u2013 \u044d\u0442\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043e\u0431\u0440\u0430\u0437\u0446\u043e\u0432. \u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0438 \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430 DRY (Don\u2019t Repeat Yourself), \u043f\u043e\u0447\u0442\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f \u043e\u0442 \u0441\u043b\u043e\u0432\u0430 \u0441\u043e\u0432\u0441\u0435\u043c. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 backend \u0438 frontend \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0444\u0438\u0447. \u0422\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0430\u043a\u0446\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0442.\u043a. \u0434\u0430\u0451\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0448\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0411\u044b\u0432\u0430\u0435\u0442 \u0437\u0430 \u0447\u0430\u0448\u0435\u0447\u043a\u043e\u0439 \u0447\u0430\u044f \u043d\u0430 \u043a\u0443\u0445\u043d\u0435 \u0438\u043b\u0438 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c, \u0447\u0442\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0432 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0438\u0445 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0443\u0436\u0430\u0441\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 ?. \u041d\u043e \u0442\u0430\u043a \u043b\u0438 \u044d\u0442\u043e? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/em><\/p>\n<p><em>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438, \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c\u0438 \u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u0443\u043c\u0430\u0435\u0442 \u0447\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w780q1\/getpro\/habr\/upload_files\/05e\/856\/550\/05e85655025a12a3f2592eacfae593d6.jpeg\" width=\"600\" height=\"607\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/05e\/856\/550\/05e85655025a12a3f2592eacfae593d6.jpeg\" data-blurred=\"true\"\/><figcaption><\/figcaption><\/figure>\n<h2>\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442<\/h2>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0430 6-\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>\u041f\u0430\u0442\u0442\u0435\u0440\u043d<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>^(?:8|\\+7)[0-9]{10}$<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>C#<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>new Regex(\u201c^(?:8|\\+7)[0-9]{10}$\u201d).Match(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>PHP<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>preg_match(\u201c\/^(?:8|\\+7)[0-9]{10}$\/\u201d, \u201ctestdata\u201d, match[])<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Python<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>re.match(r\u2019^(?:8|\\+7)[0-9]{10}$\u2019,\u2019testdata\u2019)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>JS<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\/^(?:8|\\+7)[0-9]{10}$\/.exec(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Java<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u201ctestdata\u201d.matches(\u201c^(?:8|\\+7)[0-9]{10}$\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Dart<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>RegExp(r&#187;^(?:8|\\+7)[0-9]{10}$&#187;).allMatches(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c Regex \u043c\u043e\u0434\u0443\u043b\u044f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c \u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043a\u043e\u0434\u043e\u043c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0438\u0448\u0435\u0442 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0410 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e &#171;\u0448\u0430\u0440\u0438\u0442\u044c&#187; \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0438\u0447.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0432 \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0445 \u043f\u043e \u0442\u0435\u043e\u0440\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u0432 \u0438 \u0442\u0435\u043e\u0440\u0438\u0438 \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 1950-\u0445. \u0421\u0442\u0435\u0444\u0430\u043d \u041a\u043e\u0443\u043b \u041a\u043b\u0438\u043d \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0432\u0451\u043b \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>\u041f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0438 \u0438\u0434\u0435\u0438, \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u0431\u044b\u043b\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u041a\u0435\u043d\u043e\u043c \u0422\u043e\u043c\u043f\u0441\u043e\u043d\u043e\u043c \u0438 \u0441 \u0435\u0433\u043e \u043b\u0451\u0433\u043a\u043e\u0439 \u0440\u0443\u043a\u0438 \u043f\u0440\u043e\u043d\u0438\u043a\u043b\u0438 \u0432 \u044f\u0437\u044b\u043a Perl.<\/p>\n<p>\u041f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e, \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u2013 \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u0432\u0430\u0448\u0435\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430.<\/p>\n<p>\u042f\u0437\u044b\u043a \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u043e\u0442\u044f, \u043a\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u044f\u0437\u044b\u043a\u0438, \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<h3>\u041a\u0430\u043a\u0438\u0435 \u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0438\u0445?<\/h3>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0431\u0448\u0438\u0440\u043d\u044b\u0439 \u0432\u043e\u0442 \u043b\u0438\u0448\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043d\u0438\u0445:<\/p>\n<details class=\"spoiler\">\n<summary>\u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 regex<\/summary>\n<div class=\"spoiler__content\">\n<ul>\n<li>\n<p>C<\/p>\n<\/li>\n<li>\n<p>C#<\/p>\n<\/li>\n<li>\n<p>C++<\/p>\n<\/li>\n<li>\n<p>Cobol<\/p>\n<\/li>\n<li>\n<p>Delphi<\/p>\n<\/li>\n<li>\n<p>F#<\/p>\n<\/li>\n<li>\n<p>Go<\/p>\n<\/li>\n<li>\n<p>Groovy<\/p>\n<\/li>\n<li>\n<p>Haskell<\/p>\n<\/li>\n<li>\n<p>Java<\/p>\n<\/li>\n<li>\n<p>JavaScript<\/p>\n<\/li>\n<li>\n<p>Julia<\/p>\n<\/li>\n<li>\n<p>Kotlin<\/p>\n<\/li>\n<li>\n<p>MATLAB<\/p>\n<\/li>\n<li>\n<p>Objective-C<\/p>\n<\/li>\n<li>\n<p>PHP<\/p>\n<\/li>\n<li>\n<p>Perl<\/p>\n<\/li>\n<li>\n<p>Python<\/p>\n<\/li>\n<li>\n<p>R<\/p>\n<\/li>\n<li>\n<p>Ruby<\/p>\n<\/li>\n<li>\n<p>Rust<\/p>\n<\/li>\n<li>\n<p>Scala<\/p>\n<\/li>\n<li>\n<p>Swift<\/p>\n<\/li>\n<li>\n<p>Visual Basic<\/p>\n<\/li>\n<li>\n<p>Visual Basic .NET<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<h2>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438<\/h2>\n<ul>\n<li>\n<p>\u0421\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0438\u0441\u043a \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443.<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438\u043b\u0438 \u0432\u0441\u0435\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043e\u0431\u0449\u0435\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430, \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435.\u00a0<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043c\u0435\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0441\u043b\u043e\u0432, \u0444\u0440\u0430\u0437 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0418 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u043f\u0438\u0448\u0438 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0432\u0435\u0437\u0434\u0435.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0413\u0434\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f?<\/h3>\n<ul>\n<li>\n<p>\u041f\u043e\u0438\u0441\u043a \u0438 \u0437\u0430\u043c\u0435\u043d\u0430 \u043a\u043e\u0434\u0430 \u043f\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0443 \u0432 IDE (VS Code, Rider, CLion, VS)<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 (file extension).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u0435\u0439 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435 (e-mail, phone number and other).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f request \u0438 response \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u0443\u0441\u043a\u043e\u0432 \u0442\u0435\u043a\u0441\u0442\u0430 \u0431\u0435\u0437 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/h2>\n<ul>\n<li>\n<p>^ \u2013 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438\u00a0 (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0445\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e. \u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438)<\/p>\n<\/li>\n<li>\n<p>$ \u2013 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a\u0438\u00a0 (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0432\u0441\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0431\u0443\u0434\u0443 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u043f\u043e\u0441\u043b\u0435 \u043d\u0438\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438)<\/p>\n<\/li>\n<li>\n<p>* \u2013 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0438\u043b\u0438 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f)<\/p>\n<\/li>\n<li>\n<p>+ \u2013 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u0438\u043d \u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f)<\/p>\n<\/li>\n<li>\n<p>[a-z] \u2013 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0438\u0437 \u043b\u0430\u0442\u044b\u043d\u0438 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 (a or b or c \u2026 or x or y or z)<\/p>\n<\/li>\n<li>\n<p>[0-9] \u2013 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0438\u0437 \u043b\u0430\u0442\u044b\u043d\u0438 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 (1 or 2 or 3 \u2026 or 7 or 8 or 9)<\/p>\n<\/li>\n<li>\n<p>. \u2013 \u043e\u0434\u0438\u043d \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b<\/p>\n<\/li>\n<li>\n<p>\\ \u2013 \u044d\u043a\u0440\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u043f\u0435\u0446. \u0441\u0438\u043c\u0432\u043e\u043b\u0430 (\u041f\u0420\u0418\u041c\u0415\u0420)<\/p>\n<\/li>\n<li>\n<p>| \u2013 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f OR (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0441\u043b\u0435\u0432\u0430 \u0438\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u043e\u0442 \u044d\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b)<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<\/h3>\n<ul>\n<li>\n<p>\\d \u2261 [0-9] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043e\u0442 0 \u0434\u043e 9<\/p>\n<\/li>\n<li>\n<p>\\D \u2261 [^0-9] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u0440\u043e\u043c\u0435 \u0447\u0438\u0441\u0435\u043b<\/p>\n<\/li>\n<li>\n<p>\\w \u2261 [a-zA-Z0-9_] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043b\u0430\u0442\u044b\u043d\u0438, \u0432\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u0438 _<\/p>\n<\/li>\n<li>\n<p>\\W \u2261 [^a-zA-Z0-9_] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u0440\u043e\u043c\u0435 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0447\u0438\u0441\u0435\u043b \u0438 _<\/p>\n<\/li>\n<li>\n<p>\\s \u2261 [ ] \u2013 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0435\u043b<\/p>\n<\/li>\n<li>\n<p>\\S \u2261 [^ ] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b, \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u0430<\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0430\u0437\u0431\u043e\u0440 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<\/h2>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u041f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<td>\n<p>\u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>(\u0427|\u0447)\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0447\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>(\u0427|\u0447)?\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0447\u0430\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>.\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0443\u0430\u0441\u044b\u201d, \u201c#\u0430\u0441\u044b\u201d, \u201cZ\u0430\u0441\u044b\u201d, \u201c4\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>[0-9]+<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c62\u201d, \u201c1\u201d, \u201c5123\u201d, \u201c632\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>a+b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201cab\u201d, \u201caab\u201d, \u201caaaaaaab\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d, \u201cb\u201d, \u201ccb\u201d\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>[0-9]*<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c62\u201d, \u201c1\u201d, \u201c5123\u201d, \u201c632\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>a*b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201cab\u201d, \u201caab\u201d, \u201caaaaaaab\u201d, \u201cb\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>\\+7<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+7\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c+1\u201d, \u201c++7\u201d, \u201c-7\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>^\\+7\\d{10}<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+79991112233\u201d, \u201c+712345678900\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c+712345678\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>^\\+7\\d{10}$<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+79991112233\u201d\u00a0<\/p>\n<\/td>\n<td>\n<p>\u201c+712345678900\u201d, \u201c+712345678\u201d<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u0414\u043b\u0438\u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439<\/h3>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435. \u0415\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0442\u0440\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043e\u0439 \u0443\u0441\u043b\u043e\u0432\u0438\u0439:<\/p>\n<ul>\n<li>\n<p>{3} \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043b\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u00a0<\/p>\n<\/li>\n<li>\n<p>{3,5} \u2013 \u043c\u0438\u043d. \u0438 \u043c\u0430\u043a\u0441. \u043a\u043e\u043b-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043b\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>{3,} \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043c\u0438\u043d. \u043a\u043e\u043b-\u0432\u043e \u0438 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u043c\u0430\u043a\u0441. \u043a\u043e\u043b-\u0432\u043e<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<td>\n<p>\u041f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<td>\n<p>\u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c777\u201d, \u201c891\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c1\u201d, \u201c5123\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3,5}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c12345\u201d, \u201c5123\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c7\u201d, \u201c125123\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3,}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c123456\u201d, \u201c5123\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c0\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u201c[0-9]\u201d \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u201c\\d\u201d<\/em><\/p>\n<h3>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 (Advanced)<\/h3>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e, \u0433\u043e\u0442\u043e\u0432\u044c\u0442\u0435\u0441\u044c.<\/p>\n<ul>\n<li>\n<p>() \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b\u00a0 (\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0435\u0451 \u043f\u0430\u043c\u044f\u0442\u0438)<\/p>\n<\/li>\n<li>\n<p>(?\u2018nameGroup\u2019) &#8212; (?&lt;nameGroup>) \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>(\\k&lt;nameGroup>) \u2013 \u0441\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u0438\u0437\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430 \u043e\u0442 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u043a\u043e\u0434\u0430, \u0442\u043e-\u0435\u0441\u0442\u044c \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u201cnameGroup\u201d \u0441 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0432 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0435, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043b\u0438\u0448\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043e. \u0422\u0435\u043c \u0441\u0430\u043c\u044b\u043c, \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f \u0438 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u0430\u043d\u043e\u0432\u043e.<\/p>\n<\/li>\n<li>\n<p>(?:) \u2013 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u0431\u0435\u0437 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>(&lt;=) \u2013\u00a0\u0418\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u043e\u0431\u043e\u043a  \u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0432\u044b\u0431\u043e\u0440\u043a\u0443.<\/p>\n<\/li>\n<li>\n<p>(?!) \u2013 \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u043e\u0431\u043e\u043a  \u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0432\u044b\u0431\u043e\u0440\u043a\u0443.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0436\u0438\u0437\u043d\u0438<\/h3>\n<p>\u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 QR \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0435\u0447\u0430\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0447\u0435\u043a\u0430\u0445 \u043f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435\/\u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u0443\u0441\u043b\u0443\u0433 \u0438 \u0442.\u0434. \u041f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u0431\u0435\u043a\u0435\u043d\u0434 \u0447\u0430\u0441\u0442\u0438 (C#). \u041a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430 \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0431\u044b\u043b\u0430 \u043e\u0431\u044a\u0451\u043c\u043e\u043c \u0432 ~150 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u043e\u043d\u0430 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u043b\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0438\u0441\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u0432 (\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0435\u0447\u0430\u0442\u0430\u044e\u0442 \u0447\u0435\u043a\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0424\u041d\u0421). \u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u043e\u0434\u0430. \u041f\u043e\u0437\u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0441\u0442\u0430\u043b\u043e \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435 \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0451, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043b\u0435\u0433\u043a\u043e\u0433\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0435\u0433\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0426\u0435\u043b\u0438:\u00a0<\/p>\n<ol>\n<li>\n<p>\u041f\u0430\u0440\u0441\u0438\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443<\/p>\n<\/li>\n<li>\n<p>\u0411\u0440\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u0434\u0430\u0442\u0443 \u0438 \u0441\u0443\u043c\u043c\u0443 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0447\u0442\u043e \u043f\u043e\u043b\u0435 \u201cn\u201d \u0440\u0430\u0432\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 1 (0 \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0442, 1 \u2013 \u043f\u043e\u043a\u0443\u043f\u043a\u0430)<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p>t=20181125T142800&amp;s=850.12&amp;fn=8715000100011785&amp;i=86841&amp;fp=1440325305&amp;n=1<\/p>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<p>^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 (C#):<\/p>\n<pre><code class=\"cs\">private static (string date, string sum) parseQRCode(string data) {    var pattern = new Regex(@\"^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$\", RegexOptions.ECMAScript);    var matchResult = pattern.Match(data);    if (!matchResult.Success)        throw new ArgumentException(\"Invalid qrCode\");    var dateGroup = matchResult.Groups[\"Date\"];    if(!dateGroup.Success)        throw new ArgumentException(\"Invalid qrCode, Date group not found\");    var sumGroup = matchResult.Groups[\"Sum\"];    if(!sumGroup.Success)        throw new ArgumentException(\"Invalid qrCode, Sum group not found\");     return (dateGroup.Value, sumGroup.Value); }<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 JS:<\/p>\n<p><em>\u042d\u0442\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0434\u0435\u043b\u0430\u043d \u0447\u0435\u0440\u0435\u0437 Exception-\u044b, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 return false \u0438\u043b\u0438 return null.<\/em><\/p>\n<pre><code class=\"javascript\">const parseQRCode = (data:string) : {date: string, sum: string} => {   const pattern = new RegExp(\"^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$\");   const matchResult = pattern.exec(data);   if (!matchResult)       throw \"Invalid qrCode\";   const dateGroup = matchResult[1];   if(!dateGroup)       throw \"Invalid qrCode, Date group not found\";   const sumGroup = matchResult[2];   if(!sumGroup)       throw \"Invalid qrCode, Sum group not found\";   return {date: dateGroup, sum: sumGroup}; };<\/code><\/pre>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0432\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<ol>\n<li>\n<p>Date \u2013 \u043f\u043e\u043b\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0435\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438 (\u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0435\u0451 \u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u0430\u0442\u044b)<\/p>\n<\/li>\n<li>\n<p>Sum \u2013 \u0441\u0443\u043c\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0438<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u043f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/p>\n<ol>\n<li>\n<p>^ \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0430\u044f \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>t=(?&lt;Date>[0-9-:T]+) \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b\u00a0 t=(\u0434\u0430\u043b\u0435\u0435 \u043b\u044e\u0431\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b (\u043e\u0442 0 \u0434\u043e 9 \u0438\u043b\u0438 &#8212; \u0438\u043b\u0438 : \u0438\u043b\u0438 T) \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?) \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b\u00a0<\/p>\n<ol>\n<li>\n<p>&amp;s= \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 &amp; \u0438 s \u0438 =<\/p>\n<\/li>\n<li>\n<p>[0-9]+(\u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043e\u0442 0 \u0434\u043e 9 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>(?:\\.[0-9]{2})?<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<p>$ \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0430\u044f \u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>&amp;fn=[0-9]+ \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &amp;fn= \u0438 \u0434\u0430\u043b\u0435\u0435 [0-9]+ -> (\u043b\u044e\u0431\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0442 0 \u0434\u043e 9 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>&amp;i=[0-9]+ \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &amp;i= \u0438 \u0434\u0430\u043b\u0435\u0435 [0-9]+ -> (\u043b\u044e\u0431\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0442 0 \u0434\u043e 9 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>&amp;fp=[0-9]+ \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &amp;fp= \u0438 \u0434\u0430\u043b\u0435\u0435 [0-9]+ -> (\u043b\u044e\u0431\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043e\u0442 0 \u0434\u043e 9 \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>&amp;n=1 \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &amp;n=1<\/p>\n<\/li>\n<\/ol>\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0435 \u043b\u0430\u0442\u044b\u043d\u044c\u044e<\/h3>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u043e \u0432\u0441\u0435\u043c \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u043e\u043c \u0438\u0437 \u043b\u0430\u0442\u044b\u043d\u0438, \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c [a-zA-Z]. \u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u043e\u0434\u0443\u043c\u0430\u044e\u0442 \u0447\u0442\u043e \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0435\u0439 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c [\u0430-\u044f\u0410-\u042f]. \u0412\u0440\u043e\u0434\u0435 \u0432\u0441\u0451 \u043b\u043e\u0433\u0438\u0447\u043d\u043e \u0438 \u0432\u0441\u0451 \u0445\u043e\u0440\u043e\u0448\u043e, \u043d\u043e \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b \u043f\u043e\u0439\u043c\u0435\u0442\u0435, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0438\u043d\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d [\u0430-\u044f] \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0431\u0443\u043a\u0432\u0443 \u201c\u0451\u201d, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u0430\u0448 \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0441 [\u0430-\u044f\u0410-\u042f] \u043d\u0430 [\u0430-\u044f\u0451\u0410-\u042f\u00cb], \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u0434 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u043b \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u0443\u044e \u0431\u0443\u043a\u0432\u0443 \u0432 \u0430\u043b\u0444\u0430\u0432\u0438\u0442\u0435. \u0422\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0435\u0441\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u0438\u0440\u0438\u043b\u043b\u0438\u0446\u0435, \u0442\u0430\u043a\u0436\u0435 \u044d\u0442\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u0433\u0440\u0435\u0447\u0435\u0441\u043a\u043e\u0433\u043e, \u0442\u0443\u0440\u0435\u0446\u043a\u043e\u0433\u043e \u0438 \u0440\u044f\u0434\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432. \u0411\u0443\u0434\u044c\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u043f\u0440\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u044f\u0437\u044b\u043a\u0438.<\/p>\n<h3>\u0424\u043b\u0430\u0433\u0438 regex \u0432 JS<\/h3>\n<ul>\n<li>\n<p>global (g) &#8212; \u043d\u0435 \u043f\u0440\u0435\u043a\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u043e\u0438\u0441\u043a \u043f\u043e\u0441\u043b\u0435 \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p>multi line (m) &#8212; \u0438\u0449\u0435\u0442 \u043f\u043e \u0441\u0442\u0440\u043e\u043a\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u0441\u0442\u0440\u043e\u043a\u0438 (^ \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438, $ \u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438).<\/p>\n<\/li>\n<li>\n<p>insensitive (i) &#8212; \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u043e\u0438\u0441\u043a \u0432\u043d\u0435 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 (a \u2261 A)<\/p>\n<\/li>\n<li>\n<p>sticky (y) &#8212; \u043f\u043e\u0438\u0441\u043a \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442, \u043a\u0440\u043e\u043c\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u0438\u043d\u0434\u0435\u043a\u0441 \u0441 \u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u0432\u044b\u0431\u043e\u0440\u043a\u0438 (\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 IE)<\/p>\n<\/li>\n<li>\n<p>unicode (u) &#8212; \u043f\u043e\u0438\u0441\u043a \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 unicode \u0441\u0438\u043c\u0432\u043e\u043b\u044b (\u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 IE)<\/p>\n<\/li>\n<li>\n<p>single line (s) &#8212; \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 \u0441\u0438\u043c\u0432\u043e\u043b \u201c.\u201d \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0442\u0430\u043a\u0436\u0435 \u043f\u0435\u0440\u0435\u043d\u043e\u0441 \u043d\u0430 \u043d\u043e\u0432\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 (\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 Chrome, Opera, Safari)<\/p>\n<\/li>\n<\/ul>\n<h3>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 regex \u0432 C#<\/h3>\n<p>RegexOptions \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u0435 Regex \u043a\u043b\u0430\u0441\u0441\u0430. \u0422\u0430\u043a\u0436\u0435 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u043c\u0435\u0442\u043e\u0434\u0430\u0445 Match, Matches.<\/p>\n<ul>\n<li>\n<p>None &#8212; \u0432\u044b\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443.<\/p>\n<\/li>\n<li>\n<p>IgnoreCase (\\i) &#8212; \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0431\u0435\u0437 \u0443\u0447\u0451\u0442\u0430 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430.<\/p>\n<\/li>\n<li>\n<p>Multiline (\\m) &#8212; \u0440\u0430\u0431\u043e\u0442\u0430 \u0441\u043e \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u0433\u0434\u0435 \u0435\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u044b \\n.<\/p>\n<\/li>\n<li>\n<p>ExplicitCapture (\\n) &#8212; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0433\u0440\u0443\u043f\u043f\u044b.<\/p>\n<\/li>\n<li>\n<p>Compiled (\u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u043b\u0438\u0448\u044c \u0432 static \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435, \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0443, \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0435\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u044e).<\/p>\n<\/li>\n<li>\n<p>Singleline (\u0437\u043d\u0430\u043a \u201c.\u201d \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u0440\u043e\u043c\u0435 \\n \u0438 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u0435\u0442 \u0435\u0433\u043e \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435)<\/p>\n<\/li>\n<li>\n<p>IgnorePatternWhitespace (\\x) . (\u0432\u044b\u0440\u0435\u0437\u0430\u0435\u0442 \u0432\u0441\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u044b, \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u0445[],{})<\/p>\n<\/li>\n<li>\n<p>RightToLeft &#8212; \u043f\u043e\u0438\u0441\u043a \u0441\u043f\u0440\u0430\u0432\u0430 \u043d\u0430\u043b\u0435\u0432\u043e.<\/p>\n<\/li>\n<li>\n<p>ECMAScript (JS like \u0432\u0435\u0440\u0441\u0438\u044f, \u043d\u043e \u0441\u0442\u0438\u043b\u044c \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0438 \u043a\u0430\u043a \u0432 .NET).<\/p>\n<\/li>\n<li>\n<p>CultureInvariant (\u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u0442 \u0438\u0433\u043d\u043e\u0440\u0438\u0440\u0443\u044e \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0443 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b).<\/p>\n<\/li>\n<\/ul>\n<h3>\u0425\u043e\u0440\u043e\u0448\u0438\u0435 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438 \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u043e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/h3>\n<ol>\n<li>\n<p>\u0427\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043e\u043a, \u0442\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. C\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0438\u0445 \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u044f (\\d, \\w \u0438 \u0434\u0440\u0443\u0433\u0438\u0435), \u0431\u0443\u0434\u044c\u0442\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b \u0447\u0442\u043e \u043e\u043d\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442 \u0432\u0430\u0448\u0438\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u043f\u043e\u0438\u0441\u043a\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0447\u0430\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0435\u0433\u043e \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0441\u043d\u0438\u0437\u0438\u0432 \u043a\u043e\u043b-\u0432\u043e \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u043a\u043e\u0434\u0430.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0447\u0442\u0438 \u0432\u0435\u0437\u0434\u0435 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0447\u0430\u0441\u0442\u0443\u044e \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0432\u0430\u0448\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u0443\u0441\u043a\u043e\u0440\u044f\u0435\u0442 \u0438\u0445 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u041d\u041e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0438\u0445 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438, \u044d\u0442\u043e \u0443\u0441\u043a\u043e\u0440\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u0430\u0448\u0435\u0433\u043e \u043a\u043e\u0434\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0421\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442\u044c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u044d\u043a\u0440\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (\\), \u0434\u0430\u043d\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u0435\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0423 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 utf \u043a\u043e\u0434\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u043d\u043e \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c. \u0415\u0441\u043b\u0438 \u0440\u0435\u0448\u0438\u0442\u0435\u0441\u044c \u0438\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0431\u0443\u0434\u044c\u0442\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043e\u0434\u043e\u0431\u0440\u0438\u0442 \u0432\u0430\u0448\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0438 \u043e\u043d\u043e \u0442\u043e\u0433\u043e \u0441\u0442\u043e\u0438\u0442.<\/p>\n<\/li>\n<\/ol>\n<h2>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043b\u0438\u0448\u044c \u0445\u043e\u0442\u044f\u0442 \u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438, \u043d\u043e \u043d\u0430 \u0434\u0435\u043b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u043d\u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u044e\u0442 \u043c\u0430\u0441\u0441\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0442 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0438 \u0443\u0441\u043a\u043e\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u0441\u0435\u043c \u043e\u0442 Junior-\u0430 \u0434\u043e Senior\/Lead-a. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043c\u0438\u043b\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0448\u0443 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438, \u0433\u0434\u0435 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0441 \u0432\u0430\u043c\u0438 \u043f\u043e\u0434\u0438\u0441\u043a\u0443\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<p><strong>P.S.<\/strong> \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u0443\u0439\u0442\u0435 \u044d\u0442\u043e \u0432\u0441\u0451 \u0435\u0449\u0451 \u043a\u043b\u0430\u0441\u0441\u043d\u043e)<\/p>\n<p><strong>P.P.S.<\/strong> \u041f\u0440\u0438\u0432\u0435\u0442 \u0432\u0441\u0435\u043c \u043a\u0442\u043e \u043f\u0440\u0438\u0448\u0451\u043b \u0441\u044e\u0434\u0430 \u0441 mergeconf<\/p>\n<p><strong>P.P.P.S.<\/strong> \u0421\u043f\u0430\u0441\u0438\u0431\u043e <a href=\"https:\/\/habr.com\/ru\/users\/serge78rus\/\" rel=\"noopener noreferrer nofollow\"><strong>Serge78rus<\/strong><\/a><strong> <\/strong>\u0437\u0430 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 +.<\/p>\n<h2>\u0421\u0441\u044b\u043b\u043a\u0438<\/h2>\n<p>\u2192 <a href=\"https:\/\/github.com\/mariomka\/regex-benchmark\" rel=\"noopener noreferrer nofollow\">\u0417\u0430\u043c\u0435\u0440\u044b \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445<\/a><\/p>\n<p>\u2192 \u041e\u043d\u043b\u0430\u0439\u043d <a href=\"https:\/\/regex101.com\" rel=\"noopener noreferrer nofollow\">regex-\u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a<\/a> \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u0451\u043c \u0432\u0441\u0435\u0445 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/577534\/\"> https:\/\/habr.com\/ru\/articles\/577534\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u2013 \u044d\u0442\u043e \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043d\u0430 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0437\u0430\u043f\u0438\u0441\u0438 \u043e\u0431\u0440\u0430\u0437\u0446\u043e\u0432. \u041f\u0440\u043e\u0449\u0435 \u0433\u043e\u0432\u043e\u0440\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043b\u0435\u0433\u043a\u043e \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u0438 \u0432\u0430\u043b\u0438\u0434\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0438. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0430 DRY (Don\u2019t Repeat Yourself), \u043f\u043e\u0447\u0442\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u0441\u044f \u043e\u0442 \u0441\u043b\u043e\u0432\u0430 \u0441\u043e\u0432\u0441\u0435\u043c. \u041a\u043e\u0434 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 backend \u0438 frontend \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0431\u0443\u0434\u0435\u0442 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c, \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0444\u0438\u0447. \u0422\u0430\u043a\u0436\u0435 \u0441\u0442\u043e\u0438\u0442 \u0430\u043a\u0446\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0438\u043b\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u0442.\u043a. \u0434\u0430\u0451\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0448\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0438\u043c\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e. \u0411\u044b\u0432\u0430\u0435\u0442 \u0437\u0430 \u0447\u0430\u0448\u0435\u0447\u043a\u043e\u0439 \u0447\u0430\u044f \u043d\u0430 \u043a\u0443\u0445\u043d\u0435 \u0438\u043b\u0438 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c, \u0447\u0442\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0432 \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u0447\u0442\u0435\u043d\u0438\u0435 \u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0438\u0445 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b\u0438 \u0443\u0436\u0430\u0441\u043d\u044b\u0435 \u043b\u044e\u0434\u0438 ?. \u041d\u043e \u0442\u0430\u043a \u043b\u0438 \u044d\u0442\u043e? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c\u0441\u044f<\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435:<\/em><\/p>\n<p><em>\u0414\u0430\u043d\u043d\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0430 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043a\u0438 \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438, \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c\u0438 \u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u0443\u043c\u0430\u0435\u0442 \u0447\u0442\u043e \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/em><\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h2>\u041a\u0430\u043a \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442<\/h2>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043d\u0430 6-\u0445 \u044f\u0437\u044b\u043a\u0430\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0440\u043e\u0441\u0441\u0438\u0439\u0441\u043a\u043e\u0433\u043e \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430.<\/p>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>\u041f\u0430\u0442\u0442\u0435\u0440\u043d<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>^(?:8|\\+7)[0-9]{10}$<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>C#<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>new Regex(\u201c^(?:8|\\+7)[0-9]{10}$\u201d).Match(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>PHP<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>preg_match(\u201c\/^(?:8|\\+7)[0-9]{10}$\/\u201d, \u201ctestdata\u201d, match[])<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Python<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>re.match(r\u2019^(?:8|\\+7)[0-9]{10}$\u2019,\u2019testdata\u2019)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>JS<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\/^(?:8|\\+7)[0-9]{10}$\/.exec(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Java<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>\u201ctestdata\u201d.matches(\u201c^(?:8|\\+7)[0-9]{10}$\u201d)<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"191\" width=\"191\">\n<p>Dart<\/p>\n<\/td>\n<td colspan=\"2\">\n<p>RegExp(r&#187;^(?:8|\\+7)[0-9]{10}$&#187;).allMatches(\u201ctestdata\u201d)<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>\u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c Regex \u043c\u043e\u0434\u0443\u043b\u044f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u044b\u043c \u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043b\u0435\u0433\u043a\u043e \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043a\u043e\u0434\u043e\u043c \u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0438\u0448\u0435\u0442 \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0410 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0431\u044b\u0441\u0442\u0440\u043e &#171;\u0448\u0430\u0440\u0438\u0442\u044c&#187; \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u044d\u043a\u043e\u043d\u043e\u043c\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0444\u0438\u0447.<\/p>\n<h2>\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f<\/h2>\n<p>\u0412\u043f\u0435\u0440\u0432\u044b\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0432 \u043d\u0430\u0443\u0447\u043d\u044b\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0445 \u043f\u043e \u0442\u0435\u043e\u0440\u0438\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u043e\u0432 \u0438 \u0442\u0435\u043e\u0440\u0438\u0438 \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u044f\u0437\u044b\u043a\u043e\u0432 \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 1950-\u0445. \u0421\u0442\u0435\u0444\u0430\u043d \u041a\u043e\u0443\u043b \u041a\u043b\u0438\u043d \u043f\u0440\u0438\u0437\u043d\u0430\u043d \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u0432\u0432\u0451\u043b \u043f\u043e\u043d\u044f\u0442\u0438\u0435 \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>\u041f\u0440\u0438\u043d\u0446\u0438\u043f\u044b \u0438 \u0438\u0434\u0435\u0438, \u0437\u0430\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0445, \u0431\u044b\u043b\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u041a\u0435\u043d\u043e\u043c \u0422\u043e\u043c\u043f\u0441\u043e\u043d\u043e\u043c \u0438 \u0441 \u0435\u0433\u043e \u043b\u0451\u0433\u043a\u043e\u0439 \u0440\u0443\u043a\u0438 \u043f\u0440\u043e\u043d\u0438\u043a\u043b\u0438 \u0432 \u044f\u0437\u044b\u043a Perl.<\/p>\n<p>\u041f\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044e, \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u2013 \u044d\u0442\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u0432\u0430\u0448\u0435\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0442\u0435\u043a\u0441\u0442\u0430.<\/p>\n<p>\u042f\u0437\u044b\u043a \u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0412\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u043c \u044f\u0437\u044b\u043a\u043e\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0445\u043e\u0442\u044f, \u043a\u0430\u043a \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u044f\u0437\u044b\u043a\u0438, \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<h3>\u041a\u0430\u043a\u0438\u0435 \u044f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0438\u0445?<\/h3>\n<p>\u0421\u043f\u0438\u0441\u043e\u043a \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043e\u0431\u0448\u0438\u0440\u043d\u044b\u0439 \u0432\u043e\u0442 \u043b\u0438\u0448\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437 \u043d\u0438\u0445:<\/p>\n<details class=\"spoiler\">\n<summary>\u042f\u0437\u044b\u043a\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0435 regex<\/summary>\n<div class=\"spoiler__content\">\n<ul>\n<li>\n<p>C<\/p>\n<\/li>\n<li>\n<p>C#<\/p>\n<\/li>\n<li>\n<p>C++<\/p>\n<\/li>\n<li>\n<p>Cobol<\/p>\n<\/li>\n<li>\n<p>Delphi<\/p>\n<\/li>\n<li>\n<p>F#<\/p>\n<\/li>\n<li>\n<p>Go<\/p>\n<\/li>\n<li>\n<p>Groovy<\/p>\n<\/li>\n<li>\n<p>Haskell<\/p>\n<\/li>\n<li>\n<p>Java<\/p>\n<\/li>\n<li>\n<p>JavaScript<\/p>\n<\/li>\n<li>\n<p>Julia<\/p>\n<\/li>\n<li>\n<p>Kotlin<\/p>\n<\/li>\n<li>\n<p>MATLAB<\/p>\n<\/li>\n<li>\n<p>Objective-C<\/p>\n<\/li>\n<li>\n<p>PHP<\/p>\n<\/li>\n<li>\n<p>Perl<\/p>\n<\/li>\n<li>\n<p>Python<\/p>\n<\/li>\n<li>\n<p>R<\/p>\n<\/li>\n<li>\n<p>Ruby<\/p>\n<\/li>\n<li>\n<p>Rust<\/p>\n<\/li>\n<li>\n<p>Scala<\/p>\n<\/li>\n<li>\n<p>Swift<\/p>\n<\/li>\n<li>\n<p>Visual Basic<\/p>\n<\/li>\n<li>\n<p>Visual Basic .NET<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<\/details>\n<h2>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438<\/h2>\n<ul>\n<li>\n<p>\u0421\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443.<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0438\u0441\u043a \u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443.<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0438\u043b\u0438 \u0432\u0441\u0435\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<\/li>\n<li>\n<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u043e\u0431\u0449\u0435\u0433\u043e \u043f\u043e\u0438\u0441\u043a\u0430, \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u043f\u0440\u0438 \u043f\u043e\u0438\u0441\u043a\u0435.\u00a0<\/p>\n<\/li>\n<li>\n<p>\u0417\u0430\u043c\u0435\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0441\u043b\u043e\u0432, \u0444\u0440\u0430\u0437 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0445\u043e\u0434\u0430.<\/p>\n<\/li>\n<li>\n<p>\u0418 \u0441\u0430\u043c\u043e\u0435 \u0433\u043b\u0430\u0432\u043d\u043e\u0435, \u043f\u0438\u0448\u0438 \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439 \u0432\u0435\u0437\u0434\u0435.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0413\u0434\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f?<\/h3>\n<ul>\n<li>\n<p>\u041f\u043e\u0438\u0441\u043a \u0438 \u0437\u0430\u043c\u0435\u043d\u0430 \u043a\u043e\u0434\u0430 \u043f\u043e \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0443 \u0432 IDE (VS Code, Rider, CLion, VS)<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u0441\u0442\u0440\u043e\u043a \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 (file extension).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043f\u043e\u043b\u0435\u0439 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435 (e-mail, phone number and other).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f request \u0438 response \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<\/li>\n<li>\n<p>\u0412\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0445 \u0441\u0442\u0440\u043e\u043a \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u043a\u0443\u0441\u043a\u043e\u0432 \u0442\u0435\u043a\u0441\u0442\u0430 \u0431\u0435\u0437 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442 \u043f\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<\/li>\n<\/ul>\n<h2>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/h2>\n<ul>\n<li>\n<p>^ \u2013 \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438\u00a0 (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u0445\u043e\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u043f\u043e\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e. \u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0437\u043d\u0430\u0435\u0442\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438)<\/p>\n<\/li>\n<li>\n<p>$ \u2013 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u043e\u043a\u0438\u00a0 (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u0432\u0441\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0431\u0443\u0434\u0443 \u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u0435\u0447\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u043f\u043e\u0441\u043b\u0435 \u043d\u0438\u0445 \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u0430\u043b\u044c\u0448\u0435 \u043d\u0435\u0442. \u041d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0437 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438)<\/p>\n<\/li>\n<li>\n<p>* \u2013 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u043c\u043e\u0436\u0435\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u0438\u043d \u0438\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u0438\u043b\u0438 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f)<\/p>\n<\/li>\n<li>\n<p>+ \u2013 \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u043e \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0434\u0438\u043d \u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u0437 (\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f)<\/p>\n<\/li>\n<li>\n<p>[a-z] \u2013 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0438\u0437 \u043b\u0430\u0442\u044b\u043d\u0438 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 (a or b or c \u2026 or x or y or z)<\/p>\n<\/li>\n<li>\n<p>[0-9] \u2013 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u043c\u043e\u0433\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u0430 \u0432 \u0432\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435, \u0442\u043e \u0435\u0441\u0442\u044c \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u044e\u0431\u043e\u0439 \u0431\u0443\u043a\u0432\u043e\u0439 \u0438\u0437 \u043b\u0430\u0442\u044b\u043d\u0438 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 (1 or 2 or 3 \u2026 or 7 or 8 or 9)<\/p>\n<\/li>\n<li>\n<p>. \u2013 \u043e\u0434\u0438\u043d \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b<\/p>\n<\/li>\n<li>\n<p>\\ \u2013 \u044d\u043a\u0440\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u043f\u0435\u0446. \u0441\u0438\u043c\u0432\u043e\u043b\u0430 (\u041f\u0420\u0418\u041c\u0415\u0420)<\/p>\n<\/li>\n<li>\n<p>| \u2013 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f OR (\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0441\u043b\u0435\u0432\u0430 \u0438\u043b\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u043f\u0440\u0430\u0432\u0430 \u043e\u0442 \u044d\u0442\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b)<\/p>\n<\/li>\n<\/ul>\n<h3>\u0423\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<\/h3>\n<ul>\n<li>\n<p>\\d \u2261 [0-9] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043e\u0442 0 \u0434\u043e 9<\/p>\n<\/li>\n<li>\n<p>\\D \u2261 [^0-9] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u0440\u043e\u043c\u0435 \u0447\u0438\u0441\u0435\u043b<\/p>\n<\/li>\n<li>\n<p>\\w \u2261 [a-zA-Z0-9_] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043b\u0430\u0442\u044b\u043d\u0438, \u0432\u0441\u0435 \u0447\u0438\u0441\u043b\u0430 \u0438 _<\/p>\n<\/li>\n<li>\n<p>\\W \u2261 [^a-zA-Z0-9_] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b \u043a\u0440\u043e\u043c\u0435 \u043b\u0430\u0442\u0438\u043d\u0441\u043a\u0438\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0447\u0438\u0441\u0435\u043b \u0438 _<\/p>\n<\/li>\n<li>\n<p>\\s \u2261 [ ] \u2013 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0431\u0435\u043b<\/p>\n<\/li>\n<li>\n<p>\\S \u2261 [^ ] \u2013 \u043b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b, \u043a\u0440\u043e\u043c\u0435 \u043f\u0440\u043e\u0431\u0435\u043b\u0430<\/p>\n<\/li>\n<\/ul>\n<h2>\u0420\u0430\u0437\u0431\u043e\u0440 \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430<\/h2>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u041f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<td>\n<p>\u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>(\u0427|\u0447)\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0447\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>(\u0427|\u0447)?\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0447\u0430\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>.\u0430\u0441\u044b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c\u0427\u0430\u0441\u044b\u201d, \u201c\u0443\u0430\u0441\u044b\u201d, \u201c#\u0430\u0441\u044b\u201d, \u201cZ\u0430\u0441\u044b\u201d, \u201c4\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c\u0423\u0430\u0437\u201d, \u201c\u0427\u0430\u0441\u201d, \u201c\u0447\u0441\u044b\u201d, \u201c\u0430\u0441\u044b\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>[0-9]+<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c62\u201d, \u201c1\u201d, \u201c5123\u201d, \u201c632\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>a+b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201cab\u201d, \u201caab\u201d, \u201caaaaaaab\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d, \u201cb\u201d, \u201ccb\u201d\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>[0-9]*<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c62\u201d, \u201c1\u201d, \u201c5123\u201d, \u201c632\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>a*b<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201cab\u201d, \u201caab\u201d, \u201caaaaaaab\u201d, \u201cb\u201d<\/p>\n<\/td>\n<td>\n<p>\u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>\\+7<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+7\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c+1\u201d, \u201c++7\u201d, \u201c-7\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>^\\+7\\d{10}<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+79991112233\u201d, \u201c+712345678900\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c+712345678\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td data-colwidth=\"204\" width=\"204\">\n<p>^\\+7\\d{10}$<\/p>\n<\/td>\n<td data-colwidth=\"217\" width=\"217\">\n<p>\u201c+79991112233\u201d\u00a0<\/p>\n<\/td>\n<td>\n<p>\u201c+712345678900\u201d, \u201c+712345678\u201d<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>\u0414\u043b\u0438\u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u0439<\/h3>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043c\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0434\u043d\u043e \u0438 \u0442\u043e\u0436\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435. \u0415\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u043e \u0442\u0440\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0434\u043b\u0438\u043d\u043e\u0439 \u0443\u0441\u043b\u043e\u0432\u0438\u0439:<\/p>\n<ul>\n<li>\n<p>{3} \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043a\u043e\u043b-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043b\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u00a0<\/p>\n<\/li>\n<li>\n<p>{3,5} \u2013 \u043c\u0438\u043d. \u0438 \u043c\u0430\u043a\u0441. \u043a\u043e\u043b-\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0434\u043b\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u044f<\/p>\n<\/li>\n<li>\n<p>{3,} \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043c\u0438\u043d. \u043a\u043e\u043b-\u0432\u043e \u0438 \u043d\u0435\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u043e\u0435 \u043c\u0430\u043a\u0441. \u043a\u043e\u043b-\u0432\u043e<\/p>\n<\/li>\n<\/ul>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435<\/p>\n<\/td>\n<td>\n<p>\u041f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<td>\n<p>\u041d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c777\u201d, \u201c891\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c1\u201d, \u201c5123\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3,5}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c12345\u201d, \u201c5123\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c7\u201d, \u201c125123\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>[0-9] {3,}<\/p>\n<\/td>\n<td>\n<p>\u201c632\u201d, \u201c123456\u201d, \u201c5123\u201d<\/p>\n<\/td>\n<td>\n<p>\u201c39\u201d, \u201c0\u201d, \u201cabs\u201d<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0423\u0441\u043b\u043e\u0432\u0438\u0435 \u201c[0-9]\u201d \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430 \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u201c\\d\u201d<\/em><\/p>\n<h3>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0433\u0440\u0443\u043f\u043f\u0430\u043c\u0438 (Advanced)<\/h3>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0436\u043d\u043e, \u0433\u043e\u0442\u043e\u0432\u044c\u0442\u0435\u0441\u044c.<\/p>\n<ul>\n<li>\n<p>() \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0430\u043d\u043e\u043d\u0438\u043c\u043d\u043e\u0439 \u0433\u0440\u0443\u043f\u043f\u044b\u00a0 (\u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438 \u0438 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0435\u0451 \u043f\u0430\u043c\u044f\u0442\u0438)<\/p>\n<\/li>\n<li>\n<p>(?\u2018nameGroup\u2019) &#8212; (?&lt;nameGroup>) \u2013 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>(\\k&lt;nameGroup>) \u2013 \u0441\u043b\u0443\u0436\u0438\u0442 \u0434\u043b\u044f \u0438\u0437\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430 \u043e\u0442 \u0434\u0443\u0431\u043b\u0438\u043a\u0430\u0442 \u043a\u043e\u0434\u0430, \u0442\u043e-\u0435\u0441\u0442\u044c \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0433\u0440\u0443\u043f\u043f\u0430 \u201cnameGroup\u201d \u0441 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0435 \u043f\u0438\u0441\u0430\u0442\u044c \u0432\u0442\u043e\u0440\u0443\u044e \u0433\u0440\u0443\u043f\u043f\u0443 \u0432 \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0435, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u0443\u044e \u0434\u0438\u0440\u0435\u043a\u0442\u0438\u0432\u0443 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044f \u043b\u0438\u0448\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0433\u0440\u0443\u043f\u043f\u044b, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043e. \u0422\u0435\u043c \u0441\u0430\u043c\u044b\u043c, \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u0441\u044f \u0438 \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0437\u0430\u043d\u043e\u0432\u043e.<\/p>\n<\/li>\n<li>\n<p>(?:) \u2013 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0432 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0441\u043a\u043e\u0431\u043a\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u044f, \u0431\u0435\u0437 \u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>(&lt;=) \u2013\u00a0\u0418\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u043e\u0431\u043e\u043a  \u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0432\u044b\u0431\u043e\u0440\u043a\u0443.<\/p>\n<\/li>\n<li>\n<p>(?!) \u2013 \u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u043e\u0431\u043e\u043a  \u0438 \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0435\u0433\u043e \u0432 \u0432\u044b\u0431\u043e\u0440\u043a\u0443.<\/p>\n<\/li>\n<\/ul>\n<h3>\u0420\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u0437 \u0436\u0438\u0437\u043d\u0438<\/h3>\n<p>\u041e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0441 QR \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0435\u0447\u0430\u0442\u0430\u043b\u0438\u0441\u044c \u043d\u0430 \u0447\u0435\u043a\u0430\u0445 \u043f\u0440\u0438 \u043f\u043e\u043a\u0443\u043f\u043a\u0435\/\u0432\u043e\u0437\u0432\u0440\u0430\u0442\u0435 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u043e\u0432\u0430\u0440\u043e\u0432, \u0443\u0441\u043b\u0443\u0433 \u0438 \u0442.\u0434. \u041f\u0435\u0440\u0432\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0431\u044b\u043b\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u0431\u0435\u043a\u0435\u043d\u0434 \u0447\u0430\u0441\u0442\u0438 (C#). \u041a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430 \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0431\u044b\u043b\u0430 \u043e\u0431\u044a\u0451\u043c\u043e\u043c \u0432 ~150 \u0441\u0442\u0440\u043e\u043a \u043a\u043e\u0434\u0430, \u043e\u043d\u0430 \u043d\u0435 \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u043b\u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0444\u0438\u0441\u043a\u0430\u043b\u044c\u043d\u044b\u0445 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u0432 (\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0435\u0447\u0430\u0442\u0430\u044e\u0442 \u0447\u0435\u043a\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0424\u041d\u0421). \u0414\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u043a\u043e\u0434\u0430. \u041f\u043e\u0437\u0436\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0441\u0442\u0430\u043b\u043e \u0442\u0430\u043a \u043c\u043d\u043e\u0433\u043e \u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u0430\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u043d\u0430 \u0444\u0440\u043e\u043d\u0442\u0435 \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. \u0421\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u0442\u044c \u0435\u0451, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043b\u0435\u0433\u043a\u043e\u0433\u043e \u0438 \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0435\u0433\u043e \u043d\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>\u0426\u0435\u043b\u0438:\u00a0<\/p>\n<ol>\n<li>\n<p>\u041f\u0430\u0440\u0441\u0438\u0442\u044c \u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443<\/p>\n<\/li>\n<li>\n<p>\u0411\u0440\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043f\u043e\u043b\u044f \u0434\u0430\u0442\u0443 \u0438 \u0441\u0443\u043c\u043c\u0443 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435.<\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c \u0447\u0442\u043e \u043f\u043e\u043b\u0435 \u201cn\u201d \u0440\u0430\u0432\u043d\u043e \u0432\u0441\u0435\u0433\u0434\u0430 1 (0 \u2013 \u0432\u043e\u0437\u0432\u0440\u0430\u0442, 1 \u2013 \u043f\u043e\u043a\u0443\u043f\u043a\u0430)<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u0445\u043e\u0434\u043d\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435:<\/p>\n<p>t=20181125T142800&amp;s=850.12&amp;fn=8715000100011785&amp;i=86841&amp;fp=1440325305&amp;n=1<\/p>\n<p>\u0420\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043f\u0430\u0440\u0441\u0438\u043d\u0433 \u0434\u0430\u043d\u043d\u044b\u0445:<\/p>\n<p>^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 (C#):<\/p>\n<pre><code class=\"cs\">private static (string date, string sum) parseQRCode(string data) {    var pattern = new Regex(@\"^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$\", RegexOptions.ECMAScript);    var matchResult = pattern.Match(data);    if (!matchResult.Success)        throw new ArgumentException(\"Invalid qrCode\");    var dateGroup = matchResult.Groups[\"Date\"];    if(!dateGroup.Success)        throw new ArgumentException(\"Invalid qrCode, Date group not found\");    var sumGroup = matchResult.Groups[\"Sum\"];    if(!sumGroup.Success)        throw new ArgumentException(\"Invalid qrCode, Sum group not found\");     return (dateGroup.Value, sumGroup.Value); }<\/code><\/pre>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u043d\u0430 JS:<\/p>\n<p><em>\u042d\u0442\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0434\u0435\u043b\u0430\u043d \u0447\u0435\u0440\u0435\u0437 Exception-\u044b, \u043d\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 return false \u0438\u043b\u0438 return null.<\/em><\/p>\n<pre><code class=\"javascript\">const parseQRCode = (data:string) : {date: string, sum: string} => {   const pattern = new RegExp(\"^t=(?&lt;Date>[0-9-:T]+)&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?)&amp;fn=[0-9]+&amp;i=[0-9]+&amp;fp=[0-9]+&amp;n=1$\");   const matchResult = pattern.exec(data);   if (!matchResult)       throw \"Invalid qrCode\";   const dateGroup = matchResult[1];   if(!dateGroup)       throw \"Invalid qrCode, Date group not found\";   const sumGroup = matchResult[2];   if(!sumGroup)       throw \"Invalid qrCode, Sum group not found\";   return {date: dateGroup, sum: sumGroup}; };<\/code><\/pre>\n<p>\u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u0432\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<ol>\n<li>\n<p>Date \u2013 \u043f\u043e\u043b\u0435 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0435\u0435 \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043a\u0443\u043f\u043a\u0438 (\u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c \u0435\u0451 \u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 \u0434\u0430\u0442\u044b)<\/p>\n<\/li>\n<li>\n<p>Sum \u2013 \u0441\u0443\u043c\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0438<\/p>\n<\/li>\n<\/ol>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c \u043f\u0430\u0442\u0442\u0435\u0440\u043d \u043f\u043e\u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435:<\/p>\n<ol>\n<li>\n<p>^ \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0430\u044f \u043d\u0430\u0447\u0430\u043b\u043e \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>t=(?&lt;Date>[0-9-:T]+) \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b\u00a0 t=(\u0434\u0430\u043b\u0435\u0435 \u043b\u044e\u0431\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b (\u043e\u0442 0 \u0434\u043e 9 \u0438\u043b\u0438 &#8212; \u0438\u043b\u0438 : \u0438\u043b\u0438 T) \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>&amp;s=(?&lt;Sum>[0-9]+(?:\\.[0-9]{2})?) \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b\u00a0<\/p>\n<ol>\n<li>\n<p>&amp;s= \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 &amp; \u0438 s \u0438 =<\/p>\n<\/li>\n<li>\n<p>[0-9]+(\u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043e\u0442 0 \u0434\u043e 9 \u043e\u0434\u043d\u043e\u043c \u0438\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0435)<\/p>\n<\/li>\n<li>\n<p>(?:\\.[0-9]{2})?<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<p>$ \u2013 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0449\u0430\u044f \u043a\u043e\u043d\u0435\u0446 \u0441\u0442\u0440\u043e\u043a\u0438<\/p>\n<\/li>\n<li>\n<p>&amp;fn=[0-9]+ \u2013 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &amp;<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-383824","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/383824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=383824"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/383824\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=383824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=383824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=383824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}