Skip to content

Cleanup: Shorten error message prefix to match stdlib #13

Closed

Description

@kolkov

Reported by: Ben Hoyt (GoAWK integration testing)

Problem

Error messages have verbose prefix compared to stdlib:

coregex: meta: failed to compile pattern "(?s:a\8b)": error parsing regexp: invalid escape sequence: \
regexp: error parsing regexp: invalid escape sequence: \

Suggestion

Remove the coregex: meta: failed to compile pattern prefix to:

  • Reduce noise
  • Match stdlib error format more closely
  • Easier drop-in replacement

Expected

error parsing regexp: invalid escape sequence: \

Activity

  1. moved this from Todo to In Progress in coregex Developmenton Dec 5, 2025
  2. moved this from In Progress to Done in coregex Developmenton Dec 5, 2025
  3. closed this as completedby moving to Done in coregex Developmenton Dec 5, 2025
  4. added a commit that references this issue on Dec 5, 2025
    94aa88d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions