Skip to content

ptx: should print single-line error for invalid regex #14905

Open

Description

@xtqqczze

ptx -S produces a multi-line error when given an invalid regular expression, unlike GNU ptx, which reports a concise single-line error.

The error output should match GNU's behavior.

Activity

  1. xtqqczze commented on Sep 28, 2026

    @xtqqczze
    CollaboratorAuthor

    taken by @pizzaburgare

  2. self-assigned this
    on Sep 28, 2026
  3. changed the title [-]`ptx -S` prints a multi-line error for an invalid regular expression[/-] [+]ptx: should print single-line error for invalid regex[/+] on Sep 29, 2026
  4. removed their assignment
    on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions