Skip to content

make every inline regex usage a constant #162

@SuperchupuDev

Description

@SuperchupuDev

it looks like the codebase is full of inline regex usage that looks like this:

Image

we should prefer defining regular expressions at module scope to avoid re-compilation on every function call

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