小BUG???
Posted: Apr 29 2009, 17:36
不知道这个在帮助文件里有没有说....
我规则里用的是 value=$AV(3|37|38)
后面的 37|38 没有效果.....反过来写就没问题了......value=$AV(37|38|3)
我规则里用的是 value=$AV(3|37|38)
后面的 37|38 没有效果.....反过来写就没问题了......value=$AV(37|38|3)
如果不用 $AV() ,而是写成 value="(3|37|38)" ,那么 (3|37|38) 这个 group 是可以 backtracking 的。An atomic group is a group that, when the regex engine exits from it, automatically throws away all backtracking positions remembered by any tokens inside the group.