use regex handling for jboss string
Merge pull request #5839 from bparees/fix_jboss_test

Merged by openshift-bot