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

Various fixes and minor adjustments #257

Merged
merged 10 commits into from
Feb 16, 2017
Merged

Various fixes and minor adjustments #257

merged 10 commits into from
Feb 16, 2017

Conversation

vidartf
Copy link
Collaborator

@vidartf vidartf commented Feb 8, 2017

This extracts the bug-fixes and simple improvements from #237 for eased review. Should also simplify the diff of #237.

Copy link
Member

@minrk minrk left a comment

Choose a reason for hiding this comment

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

Looks good. I made one comment about a simpler way to make case-insensitive regexps.


re_pointer = re.compile(r"0[xX][a-zA-Z0-9]{8,16}")
re_pointer = re.compile(r"0[xX][a-fA-F0-9]{8,16}")
Copy link
Member

Choose a reason for hiding this comment

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

These can be simplified by adding , re.IGNORECASE) instead of explicit casing

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed.

@vidartf vidartf merged commit 352e8a5 into jupyter:master Feb 16, 2017
@vidartf vidartf deleted the fixes branch February 16, 2017 14:28
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 this pull request may close these issues.

2 participants