Skip to content

allow spaces in include files - #91

Merged
gquerret merged 2 commits into
chriscamicas:mainfrom
Sil-Boydens:patch-3
Aug 18, 2026
Merged

allow spaces in include files#91
gquerret merged 2 commits into
chriscamicas:mainfrom
Sil-Boydens:patch-3

Conversation

@Sil-Boydens

Copy link
Copy Markdown
Contributor

an include file like
{"this is an include.i"}
would start a string at the second " and make everything behind it part of that string up to the end of the file. this because the regex for the include files don't allow spaces.
this PR fixes that by allowing spaces in the filenames in include files.
i have been using this version for all of last week and couldn't find any issues with it.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

@gquerret

Copy link
Copy Markdown
Collaborator

Thank you for the PR. Would you be able to add unit tests for this change?

@gquerret
gquerret merged commit e69e480 into chriscamicas:main Aug 18, 2026
1 check passed
@gquerret

Copy link
Copy Markdown
Collaborator

@Sil-Boydens Thanks for your PR! Though I don't want to endorse spaces in include file names ;-)

@Sil-Boydens

Copy link
Copy Markdown
Contributor Author

thank you!
i also don't recoment spaces in include file names, but.... legacy projects

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.

2 participants