dont use pcre in middleware example