attardi / wikiextractor

A tool for extracting plain text from Wikipedia dumps
GNU Affero General Public License v3.0
3.76k stars 969 forks source link

fixing the re.error: global flags not at the start of the expression #319

Closed miromannino closed 1 year ago

miromannino commented 1 year ago

Python raises an exception for extract.py for the RE in ExtLinkBracketedRegex and EXT_IMAGE_REGEX.

The reason is that global flags are not at the start of the expression.

miromannino commented 1 year ago

Closing. Redundant to #313