ivelum / djangoql

Advanced search language for Django
MIT License
1.02k stars 89 forks source link

[Feature request] Add regex operator #113

Open roniemartinez opened 10 months ago

roniemartinez commented 10 months ago

Using startswith becomes a challenge when you have a very long list. This could be simplified with a regex support.

Django supports __regex and __iregex: https://docs.djangoproject.com/en/5.0/ref/models/querysets/#regex

It seems that this has been discussed in https://github.com/ivelum/djangoql/issues/47#issuecomment-815859199

mattcousins commented 10 months ago

This would be useful for me.