Regular Expressions for Objects