From f28a3b45839b4b2835fd61b3e006aec727496e93 Mon Sep 17 00:00:00 2001 From: Eyre_S Date: Mon, 31 Oct 2022 14:35:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20regex=20=E7=9D=80=E8=89=B2?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=A1=B5=EF=BC=8Cmorny=20sync?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- %root/test-regex-highlight.md | 96 +++++++++++++++++++++++++++++++++++ bookshelf.xml | 3 ++ morny | 2 +- 3 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 %root/test-regex-highlight.md diff --git a/%root/test-regex-highlight.md b/%root/test-regex-highlight.md new file mode 100644 index 0000000..10d3ae5 --- /dev/null +++ b/%root/test-regex-highlight.md @@ -0,0 +1,96 @@ +^(?:https?://)?((?:(?:c\\.)?vx|fx|www\\.)?twitter\\.com)/((\w{1,})/status/(\d+)(?:/photo/(\d+))?)/?(\?[\w&=-]+)?$ + + + +^(?:https?://)?((?:(?:c\\.)?vx|fx|www\\.)?twitter\\.com)/((\w{1,})/status/(\d+)(?:/photo/(\d+))?)/?(\?[\w&=-]+)?$ + +`^(?:https?://)?((?:(?:c\.)?vx|fx|www\.)?twitter\.com)/((\w{1,})/status/(\d+)(?:/photo/(\d+))?)/?(\?[\w&=-]+)?$` + +\\92\\1^\\d{0,3,5}\\n{9c}\\b{0,2}(\\B{,5}){3})\\01{}\\2{,}\\001${0,} + +`\92\1^\d{0,3,5}\n{9c}\b{0,2}(\b{,5}){3})\01{}\2{,}\001${0,}` + +([A-Z])\\w+\\x7kk\\xaf5ke\\xne\\u17kc\\u1ea7nss + +`([A-Z])\w+\x7kk\xaf5ke\xne\u17kc\u1ea7nss` diff --git a/bookshelf.xml b/bookshelf.xml index dea91e4..810e6c9 100644 --- a/bookshelf.xml +++ b/bookshelf.xml @@ -32,5 +32,8 @@ + + + diff --git a/morny b/morny index e324fbd..13153c4 160000 --- a/morny +++ b/morny @@ -1 +1 @@ -Subproject commit e324fbd7926f876e6559aa322c7aed8efc60a865 +Subproject commit 13153c48a69aa7fd5d1063f9296512a167346676