Skip to content

Commit

Permalink
Maintain < 80 line length standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
sawatzkylindsey committed Mar 24, 2018
1 parent 244fc86 commit 0e0c84a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wikipediaapi/wikipedia.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class Namespace(object):
ExtractFormat.HTML: re.compile(
r'\n? *<h(\d)[^>]*?>(<span[^>]*><\/span>)? *' +
'(<span[^>]*>)? *(<span[^>]*><\/span>)? *(.*?) *' +
'(<\/span>)?(<span>Edit<\/span>)?<\/h\d>\n?' # Example page with 'Edit' erroneous links: https://bit.ly/2ui4FWs
'(<\/span>)?(<span>Edit<\/span>)?<\/h\d>\n?'
# ^^^^
# Example page with 'Edit' erroneous links: https://bit.ly/2ui4FWs
),
# ExtractFormat.PLAIN.value: re.compile(r'\n\n *(===*) (.*?) (===*) *\n'),
}
Expand Down

0 comments on commit 0e0c84a

Please sign in to comment.