reduced regex backtracking