Skip to content

pcre2_compile() erroroffset seems off by 1 in all cases #906

@sjshuck

Description

@sjshuck

All of these examples are in UTF-8 mode.

In version 10.44:

Pattern abc)def gives erroroffset of 3
Pattern *a gives erroroffset of 0

In version 10.47:

Pattern abc)def gives erroroffset of 4
Pattern *a gives erroroffset of 1

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