Kathara icon indicating copy to clipboard operation
Kathara copied to clipboard

Env Regex Match failure

Open zhangineer2 opened this issue 2 years ago • 2 comments

in the machine.py file the regex for env is ^(?P<key>\w+)=(?P<value>\w+)$ which does not accurately match IP addresses as a value. I don't think IP addresses will ever be a key.

the following worked for me

^(?P<key>\w+)=(?P<value>\w+.*)$

zhangineer2 avatar May 15 '22 02:05 zhangineer2

Hi @zhangineer, thanks for the issue. I'll open a branch and fix the regex.

Mariano.

Skazza94 avatar May 16 '22 14:05 Skazza94

Hi @zhangineer, you can find the fix in the develop branch. We'll merge it in the next release.

Thanks!

Skazza94 avatar May 18 '22 10:05 Skazza94