Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Too strict regular expression used when searching for command groups

Open
#435 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli, tooling

Research direction

Inspect azdev/operations/regex.py at lines 147-148 and use the linked Azure DevOps log to reproduce the command-group search failure. Confirm the regular expression rejects command groups containing newlines, then verify that the corrected matching behavior preserves existing command-group searches.

Written by the indexing model from the issue text.

Description

The tool uses predefined regular expressions to search for command groups. However, it strictly limits the expression that declares the command group should not have newlines.

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

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

Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-cli-dev-tools

All issues in Azure/azure-cli-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.