Skip to content
This repository was archived by the owner on Feb 19, 2021. It is now read-only.
This repository was archived by the owner on Feb 19, 2021. It is now read-only.

re.error: nothing to repeat at position 2 #568

@kj21

Description

@kj21

Great work with Paperless, It's making my paperwork less time consuming.
Recently I have been getting a regex error while running the consumer. The process quits with the line "re.error: nothing to repeat at position 2" in the Traceback. It seems to relate to the systems Python file "sre_parse.py" and the line 651:

raise source.error("nothing to repeat", source.tell() - here + len(this))

It seems to interpret the "+" as a repetition symbol in the regexp. I'm wondering how to fix this, since I don't feel comfortable messing around in the systems Python files.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions