added regex query

This adds the regex query operator to the iOS SDK.