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

Allow each part of the Regex alternations to be passed as arguments #1

Open
ericdorsey opened this issue Feb 13, 2020 · 0 comments
Open

Comments

@ericdorsey
Copy link
Owner

Allow each part of the Regex alternations to be passed as arguments

Instead of just adding them "raw" in the code like it is now:

# first alternation to pass to dyn_named_reg_maker()
first_alt = r"2[0-4]\d"

# second alternation to pass to dyn_named_reg_maker()
second_alt = r"25[0-5]"
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

No branches or pull requests

1 participant