Skip to content

Commit

Permalink
CLDR-16787 exclude typographicNames from same-as-code check (#3057)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Jun 23, 2023
1 parent 6600871 commit 408094e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ public CheckForCopy(Factory factory) {
true)
.add(
"^//ldml/localeDisplayNames/types/type\\[@key=\"collation\"]\\[@type=\"standard\"]",
true);
true)
.add("^//ldml/typographicNames", true);

static UnicodeSet ASCII_LETTER = new UnicodeSet("[a-zA-Z]").freeze();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,8 @@ public RegexLookup<T> addVariable(String variable, String variableValue) {
/**
* Add a pattern/value pair.
*
* @param stringPattern
* @param target
* @param stringPattern regex to match
* @param target return type on match
* @return this, for chaining
*/
public RegexLookup<T> add(String stringPattern, T target) {
Expand All @@ -1210,7 +1210,7 @@ public RegexLookup<T> add(String stringPattern, T target) {
* Add a pattern/value pair.
*
* @param pattern
* @param target
* @param target return type on match
* @return this, for chaining
*/
public RegexLookup<T> add(Finder pattern, T target) {
Expand Down

0 comments on commit 408094e

Please sign in to comment.