Skip to content

Support Regexes Containing Colons #499

Closed

Description

@Kurt-von-Laven

Description

One limitation of this very cool feature is that if you put a : in your regex, anything from the colon on will be ignored (and there is no way to escape the colon).

Possible Solution

Use str.partition() rather than str.split() here (and make the corresponding changes this entails).

Additional context

No response

Additional context

No response

Activity

  1. Lee-W commented on Jul 22, 2022

    @Lee-W
    Member

    I'm good with this. Would be great if you're interested in sending a PR 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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