diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-17 04:55:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-17 04:55:59 +0900 |
| commit | ea39e2301824435d45db88f95867dbe692aaf21e (patch) | |
| tree | bb4a1210f34eb63b1b4965e7e5fc556ca87271ae /crates/shirabe/src/command/script_alias_command.rs | |
| parent | bc79875f9a0cbacce94722fede76228b06486269 (diff) | |
| download | php-shirabe-ea39e2301824435d45db88f95867dbe692aaf21e.tar.gz php-shirabe-ea39e2301824435d45db88f95867dbe692aaf21e.tar.zst php-shirabe-ea39e2301824435d45db88f95867dbe692aaf21e.zip | |
fix(platform): expand the %VAR% form in expand_path()
The alternation that stands in for the original conditional subpattern
reports the branch it did not take as an empty string, so `dvar` was
always present and won over `pvar`, leaving %VAR% unexpanded. `\w+`
cannot capture an empty string, so an empty branch means it did not
participate.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/command/script_alias_command.rs')
0 files changed, 0 insertions, 0 deletions
