在反向引用uri时提供关于这些资源的有用信息。
Provide useful information about the resource when its URI is dereferenced.
然后,您可以在规则部分将其名称放置在大括号内来反向引用它们
Then, you can refer back to them by putting their names in braces in the rules section
当要使用多个反向引用时,正则表达式很快就会变得令人迷惑而且很难去理解。
When using multiple back references, a regular expression can quickly become confusing and hard to understand.
使用HTTPURI使人们能够定位和查找(反向引用)这些事物。
Use HTTP URIs so that people can locate and look up (dereference) these things.
这表示“查找子模式的匹配字符串,但不包括反向引用中的匹配结果”。
This means "match a subpattern, but don't include the match in the back-references." So let's examine the subexpression
上面的表达式将产生和前面的反向引用同样的效果,但通过使用命名组,这将明显地更便于阅读。
The above expression will create the same effect as the previous back reference example, but by instead using named groups. It is also significantly easier to read.
上面的表达式将产生和前面的反向引用同样的效果,但通过使用命名组,这将明显地更便于阅读。
The above expression will create the same effect as the previous back reference example, but by instead using named groups. It is also significantly easier to read.
应用推荐