fixed test-regex to match one-digit resourceoutput