Is jsonSelect case sensitive? #38

cyrusbloo opened this Issue Jul 10, 2012 · 2 comments


None yet

3 participants


From example:

.lang:val("Spanish") works.

.lang:val("spanish") not works.

jerry02 commented Jan 9, 2015

Just found out now, it is case sensitive by default. It has been long time since you came across this, any workaround?? @cyrusbloo


On the operatores var play with the operator '='
If you need contains to be case insensitive maybe you could change the *= operator to

'*=': [ 5, function(lhs, rhs) { return is(lhs, 'string') && is(rhs, 'string') && lhs.toLowerCase().indexOf(rhs.toLowerCase())** !== -1; } ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment