-
Notifications
You must be signed in to change notification settings - Fork 580
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
InvalidLinkBear: change complex regex to use re.VERBOSE mode #1018
Comments
f32dc3dd701c7e57b3 includes lots of lovely documentation of the quite complex regex, so it is easier to hack. This should be done as a separate task. which doesnt introduce functional changes. Then it is easier to review a patch which has functional changes. |
@jayvdb In this PR, I should just let the regex use |
No. The current regex is complex, and should be documented using |
Let's just append comments like this instead of using re.compile("abc" # matches abc
"def") # super complex def match |
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.X`` mode Closes coala#1018
Document complex regex using ``re.VERBOSE`` mode Closes coala#1018
Document complex regex using ``re.VERBOSE`` mode Closes coala#1018
Document complex regex using ``re.VERBOSE`` mode Closes coala#1018
Opened via gitter by @jayvdb
The text was updated successfully, but these errors were encountered: