正则表达式的运行速度

我需要在邮件正文中用正则表达式提取很多不同的字段,反复用Text.RegularExpressions.Regex.Match(CurrentMail.Body, pattern1),如果先赋值Text = CurrentMail.Body,再把Text放到正则表达中是否会提高速度?

@Li_Eric

Generally in debug mode it might be slow…but notmally it should be fast enough when you run in run mode or from orchestrator

Also yes its better to save the text from currentrow before using it

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.