docs: fix mismatched README sub-header in regexp/dirname#12363
Merged
Conversation
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.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request corrects a copy-paste typo in
@stdlib/regexp/dirname/README.md. The sub-header at line 54 reads#### reBasename.REGEXPinstead of#### reDirname.REGEXP. The code example immediately under it already usesreDirname.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/dirnameRenamed the README sub-header from
reBasename.REGEXPtoreDirname.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%);dirnamewas 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.,reviverandto-jsonlacktest/test.main.jsbecause they have no platform dispatch) or were ruled out by the auto-populated-section gate (the empty## See Alsosections in five packages are package-generator output).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
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