8000 error with" global flags not at the start of the expression at position 4" help~~~ · Issue #336 · attardi/wikiextractor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
error with" global flags not at the start of the expression at position 4" help~~~ #336
Open
@JoeyHuhuu

Description

@JoeyHuhuu

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "D:\Python\Lib\site-packages\wikiextractor\WikiExtractor.py", line 66, in
from extract import Extractor, ignoreTag, define_template, acceptedNamespaces
File "D:\Python\Lib\site-packages\wikiextractor\extract.py", line 378, in
ExtLinkBracketedRegex = re.compile(
^^^^^^^^^^^
File "D:\Python\Lib\re_init
.py", line 228, in compile
return compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_init
.py", line 307, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 972, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 453, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 855, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 453, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 855, in _parse
p = _parse_sub(source, state, sub_verbose, nested + 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 453, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python\Lib\re_parser.py", line 833, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0