persvr / rql

Resource Query Language
http://www.persvr.org/
267 stars 49 forks source link

Case in-sensitive search #67

Closed mavalur closed 8 years ago

mavalur commented 8 years ago

Is there an API syntax to include to support case in-sensitive search? Say for example eq(vehicleType,'car') should match "Car", "CAR" , "car"

wshager commented 8 years ago

@mavalur AFAIK eq(a,b) tests for strict equality, so that won't be an option. You yourself could implement regular expression matches(a,b,flags) or the SQL flavor like() as mentioned in http://doc.apsstandard.org/2.1/spec/rql/.

mavalur commented 8 years ago

Got it. Thank you.