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

Updating regex used to split sphinx version string. #2703

Merged
merged 1 commit into from Jan 5, 2014
Merged

Updating regex used to split sphinx version string. #2703

merged 1 commit into from Jan 5, 2014

Conversation

the-real-droop
Copy link
Contributor

The latest stable sphinx version string is '1.2+'.
The regex pattern '[a-z]' fails to match the '+' character
leading to a ValueError being raised when it attempts to
cast '2+' to an int. Replacing '[a-z]' with '[^0-9]' resolves this.

The latest stable sphinx version string is '1.2+'.
The regex pattern '[a-z]' fails to match the '+' character
leading to a `ValueError` being raised when it attempts to
cast '2+' to an int. Replacing '[a-z]' with '[^0-9]' resolves this.
tacaswell added a commit that referenced this pull request Jan 5, 2014
Updating regex used to split sphinx version string.
@tacaswell tacaswell merged commit bbebbd4 into matplotlib:master Jan 5, 2014
@the-real-droop the-real-droop deleted the plot_directive_sphinxext_fix branch January 6, 2014 15:16
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.

None yet

2 participants