On May 22, 2013, at 3:59 AM, JOSE MANUEL CANTERA FONSECA <
jm...@tid.es> wrote:
> My understanding was that 'contains' search for the target string in any
> position and not only at the starting position. Thus, I think we need both
> 'startsWith' and 'contains' filters
I agree and that is what you would expect from the name "contains". The wiki is non-specific:
https://developer.mozilla.org/en-US/docs/WebAPI/Contacts
Unfortunately, it currently does implement startsWith functionality and we have apps, mms for example, relying on that behavior.
From what I understand there are technical issues which make "contains" complicated to implement right now. Gregor can you speak to that?
If we want to provide both "contains" and "startsWith", what is the best path? Rename the current filterOp to "startsWith" and write a bug to fix "contains"?
Thanks.
Ben