void () { assertMatches("ja", "jquery.autocomplete.js"); assertDoesntMatch("ja.js", "jquery.autocomplete.js"); assertMatches("jajs", "jquery.autocomplete.js"); assertMatches("jjs", "jquery.autocomplete.js"); assertMatches("j.js", "jquery.autocomplete.js"); assertDoesntMatch("j.ajs", "jquery.autocomplete.js"); assertMatches("oracle.bnf", "oracle-11.2.bnf"); assertMatches("*foo.*bar", "foo.b.bar"); }