Skip to content

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

Merged
renejeglinsky merged 1 commit into
mainfrom
qmacro-patch-1
Aug 12, 2025
Merged

Add start and end of string anchors to identifier regex in cdl.md#1981
renejeglinsky merged 1 commit into
mainfrom
qmacro-patch-1

Conversation

@qmacro
Copy link
Copy Markdown
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
Copy Markdown
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