Lattice Grid Buy a licence

The grid (core) ยท console.warn

filter operator "matches" received an invalid pattern: {pattern}

Printed by The grid (core), prefixed [lattice], since 1.0.1.

Warnings referenceregex:*

Identifier
regex:*
Raised by
The grid (core)
Since
1.0.1

What happened

A matches condition's pattern would not compile, so no matcher could be built for it. The condition cannot be evaluated and matches nothing.

The fix

The compilation error is attached to the console line. A RegExp object is accepted as well as a string; the g and y flags are stripped because the matcher is reused across rows.

Reference

Covered in full at the API reference.