Use compiled patterns.