Skip to content

fix(#324): Handle Env. Var starting $ sign#328

Merged
MordechaiHadad merged 1 commit into
MordechaiHadad:masterfrom
MrDwarf7:fix/env-var-regex
Sep 29, 2025
Merged

fix(#324): Handle Env. Var starting $ sign#328
MordechaiHadad merged 1 commit into
MordechaiHadad:masterfrom
MrDwarf7:fix/env-var-regex

Conversation

@MrDwarf7

@MrDwarf7 MrDwarf7 commented Sep 23, 2025

Copy link
Copy Markdown
Contributor

Fixes a regression introduced in #d6813be8 and highlighted as a critical issue in #324
Where the change from using .capture().unwrap().get(1) would already omit the $ sign.
This resolves this by doing an in-place truncation and dropping the $ sign for matching purposes.

@MrDwarf7

Copy link
Copy Markdown
Contributor Author

@MordechaiHadad - Please merge this ASAP as it's a critical oversight on my original PR and is preventing users from using updated, stable versions (ie: Master/releases) of the software.

@MrDwarf7 MrDwarf7 changed the title fix(#321): Handle Env. Var starting $ sign fix(#324): Handle Env. Var starting $ sign Sep 23, 2025
Fixes a regression introduced in #d6813be8 
where the change from using `.capture().unwrap().get(1)`
would already omit the `$` sign. This resolves this 
by doing an in-place truncation and 
dropping the `$` sign for matching purposes.
@MrDwarf7

MrDwarf7 commented Sep 23, 2025

Copy link
Copy Markdown
Contributor Author

I can rebase this PR over the top of #322 if you'd like - May be easier if you're also planning merging it as well, would then be a clean merge of 322 -> master, 328 (this one) -> master one after the other.
Will also resolve the failing security audit test too.

@MordechaiHadad MordechaiHadad merged commit 1558ef7 into MordechaiHadad:master Sep 29, 2025
13 of 14 checks passed
@MrDwarf7 MrDwarf7 deleted the fix/env-var-regex branch September 29, 2025 10:24
MrDwarf7 pushed a commit to MrDwarf7/bob that referenced this pull request Sep 29, 2025
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