Closed neonstalwart closed 10 years ago
I would like to propose to call it 'matches' instead. It's less javascript-like but xpath naming and more clear imo.
it already exists as the match operator in js-array. I'm just trying to bring query up to par with that. I'm hoping that by making the smallest change possible I might have a chance of a merge :)
I figured match was intentionally chosen over matches since matches has slightly different semantics with RegExp - this is really more like test.
included in #44
this adds support for
Query().match( ... )