Skip to content

Optimize search and replace for the case of non regexes #25

@eSoares

Description

@eSoares

In the case of a search and replace where the search subject is not a regex, it can be optimized for a simple SQL query.
This improves greatly the speed since does not need for every element of the query call the python regex evaluator code.

Example:

!s/ test / teste2 /2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions