Skip to content

If the search string occurs in the context then it's not highlighted or counted in db search. #43

Description

@gitlost

If you have data such as asdf match asdf match asdf then if you do wp db search match the matches occurring within the context won't be highlighted or counted as the context regex gobbles them up.

A fix is to use the PCRE_OFFSET_CAPTURE mode always, as in the --regex case. PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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