The correct NSPredicate format for one-to-many relationship in Core Data

I have a managed object model A and B with one-to-many relationship.

For this particular task, I want to retrieve all A objects which has a relation to B with a property matches to “string”.

I had tried @"ALL bObjects.bProperty MATCHES 'string'", and it caused an objc_exception_throw in:

[NSSQLGenerator generateSQLStatementForFetchRequest:ignoreInheritance:countOnly:]

What seems to be the problem ?

Anybody can advise me on the correct predicate format ?

The correct NSPredicate format for one-to-many relationship in Core Data