fix(parser): change regex to throw exception when incorrect format
test(choices): should throw when repeat attr has incorrect format
test(choices): should work correctly with child array as choices