Skip to content

Siblings of #4108: leading \b before dash-flag alternation members in language rules #7863

Open

Description

@squid-protocol

Siblings of #4108 (PR #7862 fixed dockerfile.py). Class: a leading \b(?:...) before an alternation member starting with a non-word char (-Xmx, --flag) can never match after whitespace. Heuristic scan; each needs its own read, some may be intentional. Fix with (?<![\w-]), golden-check per language.

Activity

  1. added
    testing
    core-engine
    scope:infra
    on Nov 6, 2026
  2. squid-protocol commented on Nov 6, 2026

    @squid-protocol
    OwnerAuthor

    Further members from PR #7869 (leading \b before non-word alternation member): swift.py:475 regex_execution \.range\(of:; csharp.py:600 dependency_injection \[Inject\] (also trailing-boundary); agc_assembly.py:245 spec_exposure #\s*REF: (also trailing-boundary).

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

    core-enginescope:infratesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions