Skip to content

Add start and end of string anchors to identifier regex in cdl.md #1981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 12, 2025

Conversation

qmacro
Copy link
Collaborator

@qmacro qmacro commented Jul 22, 2025

This is super minor, of course, but I think the caret helps folks understand the significance of [$A-Za-z_] specifically representing the starting character of the identifier name. And when one anchors the start of a string, one should also anchor the end :-)

Feel free to reject and call me out as a fool :-)

This is super minor, of course, but I think the caret helps folks understand the significance of `[$A-Za-z_]` specifically representing the starting character of the identifier name. And when one anchors the start of a string, one should also anchor the end :-)

Feel free to reject and call me out as a fool :-)
@qmacro qmacro requested a review from smahati as a code owner July 22, 2025 15:48
@renejeglinsky renejeglinsky requested a review from stewsk August 11, 2025 19:19
@renejeglinsky
Copy link
Contributor

@stewsk Any objections?
In any case we won't call DJ a fool :-)

@renejeglinsky renejeglinsky merged commit c175ed3 into main Aug 12, 2025
4 checks passed
@renejeglinsky renejeglinsky deleted the qmacro-patch-1 branch August 12, 2025 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants