public static Regex literal ( String expression , Option ... options ) throws IOException { return compile ( escape ( expression ) , options ) ; }
Compiles a literal string into RegexImpl class . This is ok for testing . use RegexBuilder ant task for release classes