I'm following the syntax from https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Predicates/Articles/pSyntax.html
let containsPredicate = NSPredicate(format: "self.name CONTAINS[c] %@", searchString)
Using the above, I get an error with the description: Regular expression in queries must be anchored at the beginning (they must start with ^)
Any idea why I'm running into this problem?
Have the same issue