Plugin for jQuery and your operators?

Good day, comrades, the question is, is it possible to write a jQuery plugin that extends the operators in the selector? That is, for example, want to use the selector $('div < a'), as you can see, there is a new operator '<'.

The option of the $.expr[':'] known, I would like to hear about your operators.
September 19th 19 at 13:26
2 answers
September 19th 19 at 13:28
JQuery uses the Sizzle engine. In its documentation you can read about the Extension API. As I understand it - this is what you need. Only instead of Sizzle.selectors you will have $.expr.
September 19th 19 at 13:30
Only forgot sizzle and change the parser.

Find more questions by tags jQueryJavaScript