void () { String s1 = """ public class DiallingNumber extends DataGroup { protected static byte [] CLEAR = { }; private static DataItemTemplate template; \tprotected DataTemplate createDefaultTemplate() \t{ return null; } }"""; String s2 = """ class '_Class { static '_FieldType '_FieldName:.*template.* = '_FieldInitial?; '_RetType createDefaultTemplate() { '_Statements*; } \t'_Content* }"""; assertEquals("Bug in class matching", 1, findMatchesCount(s1,s2)); }