Searched refs:PatternCache (Results 1 – 25 of 116) 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 | CheckUnits.java | 7 import org.unicode.cldr.util.PatternCache; 13 private static final Pattern HOUR_SYMBOL = PatternCache.get("h{1,2}"); 14 private static final Pattern MINUTE_SYMBOL = PatternCache.get("m{1,2}"); 15 private static final Pattern SECONDS_SYMBOL = PatternCache.get("ss");
|
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}"); 657 static final Pattern HACK_CONFLICTING = PatternCache.get("Conflicting fields:\\s+M+,\\s+l"); 1063 PatternCache.get("a*(h|hh|H|HH)(m|mm)"), // time-short 1064 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)"), // time-medium 1065 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)(v+)"), // time-long 1066 PatternCache.get("a*(h|hh|H|HH)(m|mm)(s|ss)(v+)"), // time-full 1067 PatternCache.get("G*y{1,4}M{1,2}(d|dd)"), // date-short; allow yyy for Minguo/ROC calendar [all …]
|
D | BuildIcuCompactDecimalFormat.java | 12 import org.unicode.cldr.util.PatternCache; 27 static final Pattern PATTERN = PatternCache.get("([^0,]*)([0]+)([.]0+)?([^0]*)"); 28 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]+");… 784 private static Pattern UNNORMALIZED_MALAYALAM = PatternCache.get( 832 static Pattern ADLAM_MISNASALIZED = PatternCache.get("([])['’‘]([])"); 840 static Pattern REMOVE_QUOTE1 = PatternCache.get("(\\s)(\\\\[-\\}\\]\\&])()"); 841 …static Pattern REMOVE_QUOTE2 = PatternCache.get("(\\\\[\\-\\{\\[\\&])(\\s)"); // ([^\\])([\\-\\{\\… [all …]
|
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 | CheckNames.java | 8 import org.unicode.cldr.util.PatternCache; 11 private static final Pattern YEAR_PATTERN = PatternCache.get("\\d{3,4}");
|
D | CheckDisplayCollisions.java | 20 import org.unicode.cldr.util.PatternCache; 89 this.basePattern = PatternCache.get("^" + basePrefix + ".*"); in Type() 131 private final Matcher exclusions = PatternCache.get("=\"narrow\"]").matcher(""); // no matches 132 private final Matcher typePattern = PatternCache.get("\\[@type=\"([^\"]*+)\"]").matcher(""); 133 …private final Matcher ignoreAltAndCountAttributes = PatternCache.get("\\[@(?:count|alt)=\"[^\"]*+\… 134 …private final Matcher ignoreAltAttributes = PatternCache.get("\\[@(?:alt)=\"[^\"]*+\"]").matcher("… 135 … private final Matcher compoundUnitPatterns = PatternCache.get("compoundUnitPattern").matcher(""); 297 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/icu/ |
D | LocaleMapper.java | 25 import org.unicode.cldr.util.PatternCache; 47 private static final Pattern DRAFT_PATTERN = PatternCache.get("\\[@draft=\"\\w+\"]"); 48 private static final Pattern TERRITORY_XPATH = PatternCache.get( 50 private static final Pattern RB_DATETIMEPATTERN = PatternCache.get( 69 private final Pattern CURRENCY_FORMAT = PatternCache.get( 71 private final Pattern DATE_OR_TIME_FORMAT = PatternCache.get( 73 private final Pattern MONTH_PATTERN = PatternCache 76 private final Pattern CONTEXT_TRANSFORM = PatternCache.get(
|
D | ExtractICUData.java | 31 import org.unicode.cldr.util.PatternCache; 83 Matcher fileFilter = PatternCache.get(".*").matcher(""); in generateTransliterators() 345 static Matcher idMatcher = PatternCache.get(idPattern).matcher(""); 346 static Matcher instanceMatcher = PatternCache.get("\\s*(\\[.*\\]\\s*)?(.*)").matcher(""); 363 …static Matcher privateFiles = PatternCache.get(".*(Spacedhan|InterIndic|ThaiLogical|ThaiSemi).*").… 364 …static Matcher allowNames = PatternCache.get("(Fullwidth|Halfwidth|NumericPinyin|Publishing)").mat…
|
D | IcuTextWriter.java | 15 import org.unicode.cldr.util.PatternCache; 31 …private static final Pattern UNICODESET_ESCAPE = PatternCache.get("\\\\[\\\\\\[\\]\\{\\}\\-&:^=]"); 33 private static final Pattern STRING_ESCAPE = PatternCache.get("(?!')\\\\\\\\(?!')"); 34 private static final Pattern QUOTE_ESCAPE = PatternCache.get("\\\\?\"");
|
/external/cldr/tools/java/org/unicode/cldr/json/ |
D | LdmlConvertRules.java | 9 import org.unicode.cldr.util.PatternCache; 305 public static final Pattern ARRAY_ITEM_PATTERN = PatternCache.get( 355 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(""); 108 static Matcher localeString = PatternCache.get(".*\\((.*)\\)").matcher("");
|
D | SimpleLocaleParser.java | 13 import org.unicode.cldr.util.PatternCache; 55 private static final Pattern variantSeparatorPattern = PatternCache.get("[-_]");
|
/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 | 20 import org.unicode.cldr.util.PatternCache; 39 private static final Matcher FILE_FILTER = PatternCache.get( 41 private static final Matcher PATH_FILTER = PatternCache.get( 43 private static final Matcher VALUE_FILTER = PatternCache.get( 45 private static final Matcher TEST_FILTER = PatternCache.get(
|
D | ObjectMatcherFactory.java | 8 import org.unicode.cldr.util.PatternCache; 102 matcher = PatternCache.get(pattern).matcher(""); in set() 149 .on(PatternCache.get("\\s+"));
|
D | TestCoverageLevel.java | 33 import org.unicode.cldr.util.PatternCache; 337 …final Pattern calendar100 = PatternCache.get("(coptic|ethiopic-amete-alem|islamic-(rgsa|tbla|umalq… 339 final Pattern language100 = PatternCache.get("(" 375 final Pattern script100 = PatternCache.get("(" 389 …final Pattern keys100 = PatternCache.get("(col(Alternate|Backwards|CaseFirst|CaseLevel|HiraganaQua… 392 final Pattern numberingSystem100 = PatternCache.get("(" 398 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+");
|
12345