John+Wickberg 您好,
今天,我運行了以下正則表達式 2 次:一次是在 RegEx Pal 以最高速度運行時,另一次是當它開始變慢時。
我的經驗是,RegEx Pal 在我運行 2-3 個模式後開始變慢。當它開始變慢時,我關閉它,然後它又恢復到最高速度。
刪除閉合標籤前的空格
( )(\[a-z0-9*]+*)#\2
15.74 sec/36.63 sec
將閉合標籤前的空格移動到標籤後(忽略 \f*, \x*, \fe*)
(\s)(\+?((?!(f|x|fe))\S)**)#\2\1
17.52 sec /36.12 sec
刪除標點符號前標籤前的空格
( )(\[a-z0-9*]+)([\p{P}-[*]])#\2\3
20.45 sec /40.69 sec
儘管已經好幾天沒有當機了,但我還是附上了一個 Event 檔案。
希望這能幫上忙,
anon180868
(附件 RegExPalSpeed.evtx 缺失)
Hi John+Wickberg,
Today, I ran the following regular expressions 2 times: once while RegEx Pal was running at top speed and once when it started slowing down.
My experience is that RegEx Pal starts slowing down after I run 2-3 patterns. When it starts slowing down, I close it, and then it returns to top speed.
Delete space before closing tag
( )(\[a-z0-9*]+*)#\2
15.74 sec/36.63 sec
Delete space before a character style closing tag to after it (ignores \f*, \x*, \fe*)
(\s)(\+?((?!(f|x|fe))\S)**)#\2\1
17.52 sec /36.12 sec
Delete space before tag preceding punctuation
( )(\[a-z0-9*]+)([\p{P}-[*]])#\2\3
20.45 sec /40.69 sec
I have also attached an Event file even though it hasn’t crashed in several days.
Hope this helps,
anon180868
(Attachment RegExPalSpeed.evtx is missing)
機器翻譯自 English