Closed rickwargo closed 8 years ago
hi @rickwargo, looks good! Can you please submit the PR to the 1.0 branch instead of master?
I'm going to wait a little while before publishing alexa-utterances@1.0 in case any small issues come up in the short term and have to push patches.
thanks man!
oops, @mreinstein. Will do.
Modified previous approach to have it be backwards compatible and support parens for grouping and alternation and curly braces for custom slot names.
Modified tests where appropriate to use parens for grouping. Added additional tests to use curly braces for grouping. Added test for new approach custom slot type.
Also supports use of {-|Name} and {Name} for custom slots.
Note: does not support nested groups - will open issue and work on pull request for that.