diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-28 18:35:27 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2026-01-29 20:01:39 +0900 |
| commit | 5299276e421c3f11c944069fe5c655628634b9e1 (patch) | |
| tree | 8df76abc767bb0d1fae2ee1861c528b55addd0b0 /lib/did_you_mean/levenshtein.rb | |
| parent | b5ecfd1eba928d577d100fc3377375b55bf3cbb1 (diff) | |
Avoids an issue where `%undefined:A=B%` expands to a literal `A=B`
because the parser fails to find the variable before the colon, then
parses the following percent as the next variable expansion. Added a
definition check to ensure safe expansion.
Diffstat (limited to 'lib/did_you_mean/levenshtein.rb')
0 files changed, 0 insertions, 0 deletions
