Versions
@microsoft/botframework-cli/4.9.1 win32-x64 node-v12.13.1
Describe the bug
The output json file generated by bf luis:version:export differs slightly from the json file downloaded from the LUIS Portal. This causes the bf luis:generate:cs command to fail with the error "Invalid LUIS JSON file content" while used with the output generated by the export command, but succeed with the .json file from LUIS portal. Screenshots attached below, showing these differences.
To Reproduce
Steps to reproduce the behavior:
- Export .json file using bf luis:version:export
- Export same .json file from luis.ai portal
- Run the bf luis:generate:cs command using both files as input
- Note the error in the case of the file generated with bf tool.
Expected behavior
The .cs Helper file must be produced irrespective of the source of the input json file.
Screenshots

The file on the left is generated from bf, the file on the right is downloaded from the LUIS portal. Note the differences for regex features and regex entities, which is causing the failure of the bf generate command.