Static Method for setting Regex. Update Test for new Runnable Interface