@Test public void testEzRgx() { String expected = "(_-" + letter + "{0,2}-){0,1}" + "(" + letter + ")" + "(" + alteration + ")" + "(" + number + ")" + "(-" + numbers + "){0,1}" + "(-" + word + "){0,1}" + ".wav"; EzRgx rgx = newRgx().optionTwoLetters("_-").note().optionNumbers().optionWord().extWav(); Assert.assertEquals(expected, rgx.getPattern()); }
public EzRgx() { pattern = ""; }
EzRgx { public EzRgx() { pattern = ""; } }
EzRgx { public EzRgx() { pattern = ""; } EzRgx();  EzRgx(String pattern); }
EzRgx { public EzRgx() { pattern = ""; } EzRgx();  EzRgx(String pattern); static EzRgx newRgx(); String getPattern(); Pattern compilePattern(); EzRgx group(String pattern); EzRgx letter(); EzRgx letter(String occurence); EzRgx letter(String before, String after, String occurence); EzRgx groupNumbers(); EzRgx number(); EzRgx optionNumbers(); EzRgx optionWord(); EzRgx optionLetter(String before, String after); EzRgx optionTwoLetters(String before); EzRgx alteration(); EzRgx note(); EzRgx group(String pattern, String occurence); EzRgx append(String pattern); EzRgx ext(String pattern); EzRgx extWav(); }
EzRgx { public EzRgx() { pattern = ""; } EzRgx();  EzRgx(String pattern); static EzRgx newRgx(); String getPattern(); Pattern compilePattern(); EzRgx group(String pattern); EzRgx letter(); EzRgx letter(String occurence); EzRgx letter(String before, String after, String occurence); EzRgx groupNumbers(); EzRgx number(); EzRgx optionNumbers(); EzRgx optionWord(); EzRgx optionLetter(String before, String after); EzRgx optionTwoLetters(String before); EzRgx alteration(); EzRgx note(); EzRgx group(String pattern, String occurence); EzRgx append(String pattern); EzRgx ext(String pattern); EzRgx extWav(); static String alteration; static String letter; static String word; static String letter_and_nums; static String word_list; static String number; static String numbers; static String space; static String space_or_not; static String spnt; static String non_space; static String any; static String no_greedy_any; static String antislash; static String slash; static String path; static String start_with; static String end_with; public String pattern; }