259260261262263264265266267268269
{ contents = perl.substitute(makeSubstRE(i), contents); } // Convert closing curlies. if (perl.match("m/javascript/i", contents)) { // ASSUMPTION: JavaScript is indented, WM is not. contents = perl.substitute("s/\n}/\n#end/g", contents); } else
4445464748495051525354
} public boolean validate ( String password ) { Perl5Util util = new Perl5Util(); return util.match( _pattern, password ); } private String _pattern; }