blob: 6655deaf8960a0defccc3e8d693358a44d0df5d6 [file] [log] [blame]
class X {
public static void buildRegexp(String pattern, int exactPrefixLen, boolean forCompletion) {
System.out.println(!forCompletion && pattern.endsWith(" "));
System.out.println(exactPrefixLen == 0);
boolean prevIsUppercase = false;
for (int i = 0; i < pattern.length(); i++) {
final char c = pattern.charAt(i);
if (c == '*') { }
else if (c == ' ') { }
else if (c == ':' || prevIsUppercase) { }
}
}
}