static bool ctxEvalPattern(S pat, CtxContext c) { if (empty(pat)) true; pat = ctxExpandMacros(pat, c.regexpMacros); ret regexpCtx(pat, c.input).find(); }