a8m / envsubst

Environment variables substitution for Go
MIT License
768 stars 83 forks source link

parse: proper single char variable detection #45

Closed neiser closed 1 year ago

neiser commented 1 year ago

Fixes #43, regression from #42

@a8m Sorry for introducing that bug. If time permits for me, I may propose more refactorings to the lexer and its tests. Would you be willing to review/accept such changes?

a8m commented 1 year ago

@a8m Sorry for introducing that bug. If time permits for me, I may propose more refactorings to the lexer and its tests. Would you be willing to review/accept such changes?

Sure. Go ahead, but do it in small chunks to make code review easy.

Hfd88 commented 1 year ago

97345a5f58cbbd4cfc1875baa4f30dff7754d7b5