boolean (String name, String prefix, boolean dotted) { String strictPrefix = dotted ? '.' + prefix : prefix; return StringUtilRt.startsWithIgnoreCase(name, strictPrefix) && name.length() > strictPrefix.length() && Character.isDigit(name.charAt(strictPrefix.length())); }