Searched refs:PatternCache (Results 1 – 25 of 108) sorted by relevance
12345
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | CheckQuotes.java | 8 import org.unicode.cldr.util.PatternCache; 13 private static final Pattern ASCII_QUOTES = PatternCache.get("[\'\"]"); 14 private static final Pattern UNITS = PatternCache.get("//ldml/units/.*"); 15 private static final Pattern DELIMITERS = PatternCache.get("//ldml/delimiters/.*");
|
D | CheckDates.java | 39 import org.unicode.cldr.util.PatternCache; 95 private static final Pattern HOUR_SYMBOL = PatternCache.get("H{1,2}"); 96 private static final Pattern MINUTE_SYMBOL = PatternCache.get("mm"); 97 private static final Pattern YEAR_FIELDS = PatternCache.get("(y|Y|u|U|r){1,5}"); 669 static final Pattern HACK_CONFLICTING = PatternCache.get("Conflicting fields:\\s+M+,\\s+l"); 1076 PatternCache.get("a*(h|hh|H|HH)(m|mm)"), // time-short 1077 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)"), // time-medium 1078 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)(v+)"), // time-long 1079 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)(v+)"), // time-full 1080 PatternCache.get("G*y{1,4}M{1,2}(d|dd)"), // date-short; allow yyy for Minguo/ROC calendar [all …]
|
D | CheckUnits.java | 14 import org.unicode.cldr.util.PatternCache; 24 private static final Pattern HOUR_SYMBOL = PatternCache.get("h{1,2}"); 25 private static final Pattern MINUTE_SYMBOL = PatternCache.get("m{1,2}"); 26 private static final Pattern SECONDS_SYMBOL = PatternCache.get("ss");
|
D | BuildIcuCompactDecimalFormat.java | 13 import org.unicode.cldr.util.PatternCache; 28 static final Pattern PATTERN = PatternCache.get("([^0,]*)([0]+)([.]0+)?([^0]*)"); 29 static final Pattern TYPE = PatternCache.get("1([0]*)");
|
D | DisplayAndInputProcessor.java | 25 import org.unicode.cldr.util.PatternCache; 72 private static final Pattern APOSTROPHE_SKIP_PATHS = PatternCache.get("//ldml/(" 82 …private static final Pattern INTERVAL_FORMAT_PATHS = PatternCache.get("//ldml/dates/.+/intervalFor… 83 private static final Pattern NON_DECIMAL_PERIOD = PatternCache.get("(?<![0#'])\\.(?![0#'])"); 84 …private static final Pattern WHITESPACE_NO_NBSP_TO_NORMALIZE = PatternCache.get("\\s+"); // string… 87 …private static final Pattern WHITESPACE_AND_NBSP_TO_NORMALIZE = PatternCache.get("[\\s\\u00A0]+");… 802 private static Pattern UNNORMALIZED_MALAYALAM = PatternCache.get( 850 static Pattern ADLAM_MISNASALIZED = PatternCache.get("([])['’‘]([])"); 858 static Pattern REMOVE_QUOTE1 = PatternCache.get("(\\s)(\\\\[-\\}\\]\\&])()"); 859 …static Pattern REMOVE_QUOTE2 = PatternCache.get("(\\\\[\\-\\{\\[\\&])(\\s)"); // ([^\\])([\\-\\{\\… [all …]
|
D | CheckNames.java | 8 import org.unicode.cldr.util.PatternCache; 11 private static final Pattern YEAR_PATTERN = PatternCache.get("\\d{3,4}");
|
D | CheckPlaceHolders.java | 8 import org.unicode.cldr.util.PatternCache; 12 private static final Pattern PLACEHOLDER_PATTERN = PatternCache.get("([0-9]|[1-9][0-9]+)");
|
D | CheckDisplayCollisions.java | 21 import org.unicode.cldr.util.PatternCache; 94 this.basePattern = PatternCache.get("^" + basePrefix + ".*"); in Type() 136 private final Matcher exclusions = PatternCache.get("=\"narrow\"]").matcher(""); // no matches 137 private final Matcher typePattern = PatternCache.get("\\[@type=\"([^\"]*+)\"]").matcher(""); 138 …private final Matcher ignoreAltAndCountAttributes = PatternCache.get("\\[@(?:count|alt|gender|case… 139 …private final Matcher ignoreAltAttributes = PatternCache.get("\\[@(?:alt)=\"[^\"]*+\"]").matcher("… 140 …private final Matcher ignoreAltShortOrVariantAttributes = PatternCache.get("\\[@(?:alt)=\"(?:short… 141 … private final Matcher compoundUnitPatterns = PatternCache.get("compoundUnitPattern").matcher(""); 320 matcher = PatternCache.get(myPrefix.replaceAll("\\[", "\\\\[") + in handleCheck()
|
D | HelpMessages.java | 11 import org.unicode.cldr.util.PatternCache; 22 private static final Matcher CLEANUP_BOOKMARK = PatternCache.get("[^a-zA-Z0-9]").matcher(""); 27 … private static final Matcher HEADER_HTML = PatternCache.get("<h[0-9]>(.*)</h[0-9]>").matcher("");
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | UExtension.java | 19 static Pattern SEP = PatternCache.get("[-_]"); 20 static Pattern SPACE = PatternCache.get("\\s"); 21 static Pattern ALPHANUM = PatternCache.get("[0-9A-Za-z]{2,8}"); 22 …static Pattern CODEPOINTS = PatternCache.get("(10|[0-9A-Fa-f])?[0-9A-Fa-f]{4}(\\s(10|[0-9A-Fa-f])?…
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | LdmlConvertRules.java | 9 import org.unicode.cldr.util.PatternCache; 318 public static final Pattern ARRAY_ITEM_PATTERN = PatternCache.get( 368 pattern = PatternCache.get(patternStr); in PathTransformSpec()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateSupplementalZoneData.java | 14 import org.unicode.cldr.util.PatternCache; 49 String broken = CldrUtility.breakLines(tzbuf, sep, PatternCache.get( in main()
|
D | FixDelimiters.java | 16 import org.unicode.cldr.util.PatternCache; 89 static Matcher quotes = PatternCache.get("(.*)…(.*)").matcher(""); 109 static Matcher localeString = PatternCache.get(".*\\((.*)\\)").matcher("");
|
D | SimpleLocaleParser.java | 13 import org.unicode.cldr.util.PatternCache; 55 private static final Pattern variantSeparatorPattern = PatternCache.get("[-_]");
|
D | CLDRFormat.java | 16 import org.unicode.cldr.util.PatternCache; 24 Matcher matcher = PatternCache.get(filter).matcher(""); in main()
|
D | FallbackIterator.java | 14 import org.unicode.cldr.util.PatternCache; 30 matcher = PatternCache.get(datum).matcher(""); in FallbackRule()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCanonicalIds.java | 16 import org.unicode.cldr.util.PatternCache; 31 static final Pattern WHITESPACE_PATTERN = PatternCache.get("\\s+"); 177 Matcher m = PatternCache.get("(\\d{4})-(\\d{2})-(\\d{2})").matcher( in isOk() 201 Matcher m = PatternCache.get("(\\d{4})-(\\d{2})-(\\d{2})").matcher( in isOk()
|
D | TestPathsModule.java | 21 import org.unicode.cldr.util.PatternCache; 40 private static final Matcher FILE_FILTER = PatternCache.get( 42 private static final Matcher PATH_FILTER = PatternCache.get( 44 private static final Matcher VALUE_FILTER = PatternCache.get( 46 private static final Matcher TEST_FILTER = PatternCache.get(
|
D | ObjectMatcherFactory.java | 9 import org.unicode.cldr.util.PatternCache; 102 matcher = PatternCache.get(pattern).matcher(""); in set() 152 .on(PatternCache.get("\\s+"));
|
D | TestCoverageLevel.java | 38 import org.unicode.cldr.util.PatternCache; 345 …final Pattern calendar100 = PatternCache.get("(coptic|ethiopic-amete-alem|islamic-(rgsa|tbla|umalq… 347 final Pattern language100 = PatternCache.get("(" 383 final Pattern script100 = PatternCache.get("(" 397 …final Pattern keys100 = PatternCache.get("(col(Alternate|Backwards|CaseFirst|CaseLevel|HiraganaQua… 400 final Pattern numberingSystem100 = PatternCache.get("(" 406 final Pattern collation100 = PatternCache.get("("
|
D | TestCollators.java | 15 import org.unicode.cldr.util.PatternCache; 81 …static final Pattern TYPE = PatternCache.get("//ldml/collations/collation\\[@type=\"([^\"]+)\"\\].…
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | FixArchaic.java | 5 import org.unicode.cldr.util.PatternCache; 105 m = PatternCache.get(uset).matcher(stri); in checkRegex()
|
D | PatternFixer.java | 7 import org.unicode.cldr.util.PatternCache; 133 return PatternCache.get(new PatternFixer(Target.JAVA).fix(regexPattern)); in compile()
|
D | UnicodeMapBuilder.java | 7 import org.unicode.cldr.util.PatternCache; 21 Pattern semi = PatternCache.get("\\s+;\\s+");
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | ExtractICUData.java | 32 import org.unicode.cldr.util.PatternCache; 84 Matcher fileFilter = PatternCache.get(".*").matcher(""); in generateTransliterators() 346 static Matcher idMatcher = PatternCache.get(idPattern).matcher(""); 347 static Matcher instanceMatcher = PatternCache.get("\\s*(\\[.*\\]\\s*)?(.*)").matcher(""); 364 …static Matcher privateFiles = PatternCache.get(".*(Spacedhan|InterIndic|ThaiLogical|ThaiSemi).*").… 365 …static Matcher allowNames = PatternCache.get("(Fullwidth|Halfwidth|NumericPinyin|Publishing)").mat…
|
12345