Skip to content

ranges-seam: require a left identifier boundary on the refused spellings #1732

Open

Description

@christianparpart

scripts/check-ranges-seam.cmake matches views::stride and ranges::iota with no left identifier boundary. A name such as myviews::stride or foo::views::stride would therefore also be refused. This predates #1728 and fails toward over-matching, which is the safe direction.

Fix: anchor each needle with (^|[^A-Za-z0-9_]). Add a selftest case for a prefixed identifier that must NOT be refused, beside the existing planted violations that must be.

Activity

  1. added
    type/choreDependencies, CI plumbing, release mechanics, repo hygiene
    area/buildCMake, presets, toolchains, CI workflows
    on Oct 28, 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

    Labels

    area/buildCMake, presets, toolchains, CI workflowstype/choreDependencies, CI plumbing, release mechanics, repo hygiene

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions