From feac484d10235a019a9a440b8119e3f6e1258b47 Mon Sep 17 00:00:00 2001 From: Igor Simdyanov Date: Wed, 18 May 2022 20:23:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BB=D0=B0=D0=B2=D0=B0=2028:=20=D0=B7?= =?UTF-8?q?=D0=B0=D0=B2=D0=B5=D1=80=D1=88=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=87?= =?UTF-8?q?=D0=B5=D1=80=D0=BD=D0=BE=D0=B2=D0=B8=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- regexp/email.php | 14 ++++++++++++++ regexp/grep.php | 4 ++++ regexp/http.php | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 regexp/email.php create mode 100644 regexp/grep.php create mode 100644 regexp/http.php diff --git a/regexp/email.php b/regexp/email.php new file mode 100644 index 0000000..bbba553 --- /dev/null +++ b/regexp/email.php @@ -0,0 +1,14 @@ +$0', + $text +); + +echo $html; diff --git a/regexp/grep.php b/regexp/grep.php new file mode 100644 index 0000000..e5de5a3 --- /dev/null +++ b/regexp/grep.php @@ -0,0 +1,4 @@ +"; +} diff --git a/regexp/http.php b/regexp/http.php new file mode 100644 index 0000000..1102fae --- /dev/null +++ b/regexp/http.php @@ -0,0 +1,33 @@ +"\'()\[\]\s]* # URI (но БЕЗ кавычек и скобок) + (?: # последний символ должен быть... + (?$name"; + }, + $text + ); +}