Skip to content

docs: fix mismatched README sub-header in regexp/dirname#12363

Merged
kgryte merged 1 commit into
developfrom
philipp/drift-regexp-2026-05-30
May 30, 2026
Merged

docs: fix mismatched README sub-header in regexp/dirname#12363
kgryte merged 1 commit into
developfrom
philipp/drift-regexp-2026-05-30

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

Description

This pull request corrects a copy-paste typo in @stdlib/regexp/dirname/README.md. The sub-header at line 54 reads #### reBasename.REGEXP instead of #### reDirname.REGEXP. The code example immediately under it already uses reDirname.REGEXP, and the subsequent sub-headers (reDirname.REGEXP_POSIX, reDirname.REGEXP_WIN32) use the correct identifier, so this is the only line out of step.

regexp/dirname

Renamed the README sub-header from reBasename.REGEXP to reDirname.REGEXP. Conformance with the namespace-wide convention of using a package's own main identifier in its README sub-headers: 26 of 27 sibling packages (96%); dirname was the lone outlier. Documentation-only — no JSDoc, source, or tests touched.

Related Issues

This pull request has no related issues.

Questions

No.

Other

The change was produced by an automated cross-package drift audit over the 27 non-autogenerated members of @stdlib/regexp/*. The drift candidate was confirmed by three independent reviewer agents (semantic, cross-reference, structural). No other corrections survived filtering: remaining outliers in the namespace either reflect intentional architectural differences (e.g., reviver and to-json lack test/test.main.js because they have no platform dispatch) or were ruled out by the auto-populated-section gate (the empty ## See Also sections in five packages are package-generator output).

Checklist

AI Assistance

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

This PR was authored by Claude Code as part of an automated cross-package drift detection routine over @stdlib/regexp/*. Three independent reviewer agents (semantic, cross-reference, structural) confirmed the candidate before the fix was applied. A maintainer should promote out of draft after review.


@stdlib-js/reviewers


Generated by Claude Code

Corrects the `#### reBasename.REGEXP` sub-header in `regexp/dirname/README.md`
to `#### reDirname.REGEXP`. The code block under the header already references
`reDirname.REGEXP`, and the surrounding sub-headers (`reDirname.REGEXP_POSIX`,
`reDirname.REGEXP_WIN32`) all use the package's own identifier — 26 of 27
sibling packages in `@stdlib/regexp/*` (96%) follow the convention of using
their own main identifier in README sub-headers.
@stdlib-bot
Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
regexp/dirname $\color{green}132/132$
$\color{green}+100.00\%$
$\color{green}9/9$
$\color{green}+100.00\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}132/132$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this PR.

@Planeshifter Planeshifter marked this pull request as ready for review May 30, 2026 04:30
@Planeshifter Planeshifter requested review from a team and kgryte May 30, 2026 04:30
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label May 30, 2026
@kgryte kgryte added Documentation Improvements, additions, or changes to documentation. and removed Needs Review A pull request which needs code review. labels May 30, 2026
@kgryte kgryte merged commit cf4e95c into develop May 30, 2026
54 checks passed
@kgryte kgryte deleted the philipp/drift-regexp-2026-05-30 branch May 30, 2026 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements, additions, or changes to documentation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants