Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too strict regular expression used when searching for command names #434

Open
FumingZhang opened this issue Feb 29, 2024 · 0 comments · Fixed by #439
Open

Too strict regular expression used when searching for command names #434

FumingZhang opened this issue Feb 29, 2024 · 0 comments · Fixed by #439

Comments

@FumingZhang
Copy link
Member

FumingZhang commented Feb 29, 2024

The tool uses predefined regular expressions to search for command names. However, it is strictly required to use a single quoted string to record the command name represented. Names using double quoted strings are ignored, causing unexpected errors.

Code https://github.com/Azure/azure-cli-dev-tools/blob/dev/azdev/operations/regex.py#L91-L96

Example https://dev.azure.com/azclitools/public/_build/results?buildId=135184&view=logs&j=168ccbe3-da49-5c0b-6478-08f7016e4bf5&t=10a595be-4223-5cc7-9a73-012871b6eaee&l=138

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant