Skip to content

Feature request: Configurable regex timeout #4

@Snuggless

Description

@Snuggless

Feature request: Configurable regex timeout

Hello!

I’ve been using this library and like how it works. It would be great if the regex processing timeout were configurable. My app runs this in the background, so wall‑clock performance isn’t critical. Enabling this would allow me to process larger files and more complex patterns without premature timeouts.

Motivation

  • Background jobs can allow longer processing time.
  • Large inputs and complex regex patterns may require more time than a fixed timeout allows.

Proposal

  • Add a configurable regex timeout (e.g., via a code options).
  • Keep existing default to avoid breaking existing users.

Thanks!

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