John+Wickberg 您好,
今天,我运行了以下正则表达式 2 次:一次是在 RegEx Pal 全速运行时,另一次是在它开始变慢时。
我的经验是,在运行 2-3 个模式后,RegEx Pal 开始变慢。当它开始变慢时,我会关闭它,然后它又会恢复到全速。
删除闭合标签前的空格
( )(\[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
尽管已经几天没有崩溃了,但我还是附上了一份事件文件。
希望这有帮助,
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