把等价的简单正则路径表达式聚成一个等价类可以减少它的计算成本。
Clustering multiple regular linear path expressions into an equivalent class can help to decrease the cost of their evaluation.
各种XML查询语言的共同特点就是利用正则路径表达式(RPE)来导航XML文档的查询。
The common feature of the XML query languages is the use of regular path expressions (i. e. RPE) to query XML data.
首先提出了一个利用映射信息(映射图)将带正则路径表达式的XML查询重写为一组简单路径查询的算法。
At first, an algorithm is proposed, which rewrites a regular path expression based XML query as a group of simple path expression based queries using mapping information (mapping graph).
如果找到了匹配的规则,将在具有sendto属性值的被请求路径上执行正则表达式替换。
If a match is found, a regular expression replace is performed on the requested path with the value of the SendTo property.
反之,Django使用了一个单独的基于正则表达式的配置文件将URL映射为底层代码,这样就降低了URL路径结构与实际实现之间的耦合程度。
Conversely, Django USES a separate regular expression-based configuration file to map URLs to the underlying code, decoupling the URL path structure from the actual implementation.
当一个特定字元匹配失败时,正则表达式将试图回溯到扫描之前的位置上,然后进入正则表达式其他可能的路径上。
When a particular token fails to match, the regex tries to backtrack to a prior point in the match attempt and follow other possible paths through the regex.
XML查询包含内容查询和结构查询,其查询条件可表示为简单路径表达式(SPE)和正则路径路径表达式(RPE)。
XML query includes content query and structural query. The query condition can be represented as a simple path expression (SPE) or a regular path expression (RPE).
如果正则表达式的所有可能路径都尝试过了,但是没有成功地匹配,那么正则表达式引擎回到第二步,从字符串的下一个字符重新尝试。
If all possible paths through the regex have been attempted but a match was not found, the regex engine goes back to step 2 to try again at the next character in the string.
如果正则表达式的所有可能路径都尝试过了,但是没有成功地匹配,那么正则表达式引擎回到第二步,从字符串的下一个字符重新尝试。
If all possible paths through the regex have been attempted but a match was not found, the regex engine goes back to step 2 to try again at the next character in the string.
应用推荐