Register the regex search strategy before the line search