This is the regular expression I use, but it doesn't match string "%test\n###Hello". Could anyone help what's wrong in my regular expression ? Thanks
private static Pattern REPL_PATTERN = Pattern.compile("%([\\w\\.]+).*");
This is the regular expression I use, but it doesn't match string "%test\n###Hello". Could anyone help what's wrong in my regular expression ? Thanks
private static Pattern REPL_PATTERN = Pattern.compile("%([\\w\\.]+).*");