public DotResourceCache() {
cache = CacheLocator.getCacheAdministrator();
Perl5Compiler c = new Perl5Compiler();
try{
assetPattern = c.compile("[/\\\\][0-9a-zA-Z][/\\\\][0-9a-zA-Z][/\\\\][0-9a-zA-Z-]*\\.[a-zA-Z]*",Perl5Compiler.READ_ONLY_MASK);
menuPattern = c.compile("dynamic[/\\\\]menus[/\\\\].*",Perl5Compiler.READ_ONLY_MASK);
}catch (MalformedPatternException mfe) {
Logger.fatal(this,"Unable to instaniate dotCMS Velocity Cache",mfe);
Logger.error(this,mfe.getMessage(),mfe);
}