Skip to content

match_group_indexes blank array for plain text regex. #12

Open
@JernKunpittaya

Description

@JernKunpittaya

With regex /merg(e)/ as plain text trying to match the "merge" in any text, just results in blank match_group_indexes, hence error. Quick fix can be done via writing regex as /merg(e|a)/ , aka just put that e in the group with some other operations, and this result in matching "e" value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions