正则表达式处理慢往往是因为匹配失败过程慢,而不是匹配成功过程慢。
Slow regex processing is usually caused by slow failure rather than slow matching.
MatchIterator类是可枚举的,它还处理正则表达式处理过程。
The MatchIterator class is enumerable and handles the regular expression processing.
为了加速路径表达式处理,基于路径分解和结构连接操作的处理策略需要更深入的研究。
To facilitate path expression processing, the processing strategy based on path decomposition and structural join operation needs to be investigated more deeply.
The interpreter is going to get a value for it.
处理器会对表达式运算得到一个结果值。
When we're just interacting with idol, with the interactive editor or sorry, interactive environment if you like, that's what you expect. What's happening is that we're typing in something, an expression it doesn't know how to deal. It's raising the exception, but is this simply bubbling up at the top level saying you've got a problem.
就发生了其中之一是吧,当你在交互数据处理或者是在交互编辑器,抱歉,任何你喜欢的交互式环境中,你可能会遇到这些,如果你在输入什么内容,譬如一个它不知道怎么处理的表达式,它就会报一个异常,但这是否是简单的,把你遇到的问题冒到最顶层呢?
And in Python the expression is, operand, operator, operand, when we're doing simple expressions like this, and if I give it to the interpreter, it gives me back exactly what you'd expect, which is that value. OK?
在Python中表达式就是,运算对象,操作符,运算对象,当我们处理这样的简单表达式的时候,我把表达式传给处理器,处理器给我返回了我想要的结果,对不对?
应用推荐