Fix parsing regexps with a property on one side of a branch