Skip to content

Fix bite sized regex in Check.ps1 - #58

Merged
mristin merged 1 commit into
mainfrom
empwilli/fix_check_script
Jan 22, 2026
Merged

mristin merged 1 commit into
mainfrom
empwilli/fix_check_script

Conversation

@empwilli

@empwilli empwilli commented Jan 20, 2026 •

Copy link
Copy Markdown
Contributor

Check.ps1 uses bite sized to check the line lengths in the generated code. The
call excludes any lines containing regexes. However, the regex used for this
exception does not account for interpolated strings. Hence, we extend the regex
accordingly.

Note: this deliberately does not account for all possibilities to define
strings in C#. Currently, the code only contains "plain" strings and
interpolated strings.

Fixes #57.

Check.ps1 uses bite sized to check the line lengths in the generated
code. The call excludes any lines containing regexes. However, the regex
used for this exception does not account for interpolated strings.
Hence, we extend the regex accordingly.

Note: this deliberately does not account for all possibilities to define
strings in C#. Currently, the code only contains "plain" strings and
interpolated strings.
@empwilli
empwilli requested a review from mristin January 20, 2026 09:12
@mristin
mristin merged commit 015ee2b into main Jan 22, 2026
2 checks passed
@mristin
mristin deleted the empwilli/fix_check_script branch January 22, 2026 15:02
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.

bite sized regex exception fails on string interpolation

2 participants