Change regex for legacy subcommand warning test

Signed-off-by: Ken Barber <ken@bob.sh>