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

Python: Improved Readability and Alignment of Regex Patterns #8491

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

hiteshbedre
Copy link
Contributor

Change: Improved Readability and Alignment of Regex Patterns

In this change, I've updated the existing regular expressions where multiple \d characters appear sequentially. I've applied the {n} format to indicate a specific number of repetitions, making the patterns more readable. Furthermore, I've aligned these patterns consistently for better code clarity.

@github-actions github-actions bot added the python label Sep 4, 2023
@amogh-jahagirdar amogh-jahagirdar changed the title Improved Readability and Alignment of Regex Patterns Python: Improved Readability and Alignment of Regex Patterns Sep 6, 2023
Copy link
Contributor

@amogh-jahagirdar amogh-jahagirdar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up @hiteshbedre , this looks good to me.

@hiteshbedre
Copy link
Contributor Author

@amogh-jahagirdar who can help me with the next approval?

@amogh-jahagirdar
Copy link
Contributor

@hiteshbedre Since this is more of a cleanup, I'll merge after the checks pass.

@amogh-jahagirdar amogh-jahagirdar merged commit a113e26 into apache:master Sep 8, 2023
@amogh-jahagirdar
Copy link
Contributor

Thanks for the contribution @hiteshbedre !

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

Successfully merging this pull request may close these issues.

2 participants