Fix bug #67705 (extensive backtracking in rule regular expression)
add test