helpers.cli: Fix regex validation
According to Python documentation, p.match checks if characters at the beginning of string match the regex
This commit changes validation to full length of string
Thanks for contributing to postmarketOS!
We've noticed that many new contributors aren't aware of our AI usage policy. Please review it before you get started.
Happy hacking!
According to Python documentation, p.match checks if characters at the beginning of string match the regex
This commit changes validation to full length of string