| 275 | } |
| 276 | |
| 277 | static bool evaluate(thread_db* tdbb, MemoryPool& pool, TextType* textType, const UCHAR* str, SLONG strLen, |
| 278 | const UCHAR* patternStr, SLONG patternLen, const UCHAR* escapeStr, SLONG escapeLen) |
| 279 | { |
| 280 | Re2SubstringSimilarMatcher matcher(tdbb, pool, textType, patternStr, patternLen, escapeStr, escapeLen); |
| 281 | matcher.process(str, strLen); |
| 282 | return matcher.result(); |
| 283 | } |
| 284 | |
| 285 | public: |
| 286 | virtual void reset() |