1# Regex file for performing data modifications in FilterFactory. 2## Variables go here ## 3 4## XPath replacements ## 5# xpath ; {old_xpath} ; {new_xpath} ; {options} 6# XPaths can be either regexes or literal XPaths, but using literal XPaths will 7# speed up the filtering process. 8# Possible options: 9# locale={locale_pattern} 10# Android patch (b/36123938) begin. 11xpath ; //ldml/localeDisplayNames/territories/territory[@type="FK"][@alt="variant"] ; //ldml/localeDisplayNames/territories/territory[@type="FK"] 12# Android patch (b/36123938) end. 13xpath ; //ldml/localeDisplayNames/territories/territory[@type="HK"][@alt="short"] ; //ldml/localeDisplayNames/territories/territory[@type="HK"] 14# Android patch (b/36123938) begin. 15xpath ; //ldml/localeDisplayNames/territories/territory[@type="MK"][@alt="variant"] ; //ldml/localeDisplayNames/territories/territory[@type="MK"] 16# Android patch (b/36123938) end. 17xpath ; //ldml/localeDisplayNames/territories/territory[@type="MO"][@alt="short"] ; //ldml/localeDisplayNames/territories/territory[@type="MO"] 18# Android patch (b/8264703) begin. 19xpath ; //ldml/localeDisplayNames/territories/territory[@type="PS"][@alt="short"] ; //ldml/localeDisplayNames/territories/territory[@type="PS"] 20# Android patch (b/8264703) end. 21# Android patch (b/21295835) begin. 22xpath ; //ldml/numbers/currencies/currency[@type="UAH"]/symbol[@alt="variant"] ; //ldml/numbers/currencies/currency[@type="UAH"]/symbol 23# Android patch (b/21295835) end. 24 25## Value substitutions ## 26# value ; {old_value} ; {new_value} ; {options} 27# Possible options: 28# locale={locale_pattern} 29# xpath={xpath} 30# example: 31# value ; ₹ ; Rs. ; xpath=//ldml/numbers/currencies/currency[@type="INR"]/symbol 32