Hello Seth, you're completely right plus the example was flawed as it also matches a empty string.
The issue seems to be particularly to the system itself, several hardware issues showed up after the report, maybe somehow that cause the false positive. I had another example which didn't use the alternation operator and also worked, but i cannot replicate it on another system. Sorry for the inconvenience. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922459 Title: restricted-ssh-commands regex check is not properly escaped To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/restricted-ssh-commands/+bug/1922459/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
