### Question:
CciL2FileType extends CciL3FileType { @Override public String getFilenameRegex() { return "\\d{14}-ESACCI-L2P_GHRSST-SST((skin)|(subskin)|(depth)|(fnd))-((ATSR1)|(ATSR2)|(AATSR)|(AVHRR\\d{2}_G)|(AMSRE)|(SEVIRI_SST)|(TMI))-((LT)|(DM))-v\\d{1,2}\\.\\d{1}-fv\\d{1,2}\\.\\d{1}.nc"; }  @Override AggregationContext readSourceGrids(NetcdfFile datafile, SstDepth sstDepth, AggregationContext context); @Override String getFilenameRegex();  }### Answer:
@Test public void testFilenameRegex_AVHRR() throws Exception { final String filename = "20100701012400-ESACCI-L2P_GHRSST-SSTskin-AVHRR18_G-LT-v02.0-fv01.0.nc"; assertTrue(filename.matches(fileType.getFilenameRegex())); }