Home
last modified time | relevance | path

Searched refs:validPattern (Results 1 – 2 of 2) sorted by relevance

/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java470 NodeList validPattern = element.getElementsByTagName(NATIONAL_NUMBER_PATTERN); in processPhoneNumberDescElement() local
471 if (validPattern.getLength() > 0) { in processPhoneNumberDescElement()
473 validateRE(validPattern.item(0).getFirstChild().getNodeValue(), true)); in processPhoneNumberDescElement()
/third_party/libphonenumber/tools/java/common/test/com/google/i18n/phonenumbers/
DBuildMetadataFromXmlTest.java98 String validPattern = "[a-zA-Z]d{1,9}"; in testValidateRE() local
100 assertEquals(validPattern, BuildMetadataFromXml.validateRE(validPattern, false)); in testValidateRE()