#Remember to quote any [ character!

%A = [^"]*+
%L = (long|short|narrow)

^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/dateTimeFormatLength\[@type="%A"]/dateTimeFormat\[@type="%A"]/pattern\[@type="%A"] ; {1}=DATE Dec 10, 2010 ; {0}=TIME 3:59

# strange values
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; cccc=UNKNOWN ?
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; ccc=UNKNOWN ?
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEEEE=DAY_OF_WEEK_NARROW T
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEEE=DAY_OF_WEEK_LONG Tuesday
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; EEE=DAY_OF_WEEK_SHORT Tues
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; E=DAY_OF_WEEK_SHORT Tues
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; GGGGG=NARROW_ERA A
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; GGGG=LONG_ERA Anno Domini
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; G=SHORT_ERA AD
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; yyyy=YEAR 0800
##strange value
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; yyy=YEAR 10
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; yy=YEAR_2_DIGIT 10
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; y=YEAR 2010
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; QQQQ=QUARTER_LONG 2nd quarter
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; QQQ=QUARTER_SHORT Q2
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; QQ=QUARTER_NUMERIC 02
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; Q=QUARTER_NUMERIC 2
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; qqqq=QUARTER_LONG_STAND_ALONE 2nd quarter
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; qqq=QUARTER_SHORT_STAND_ALONE Q2
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; qq=QUARTER_NUMERIC_STAND_ALONE 2
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; q=QUARTER_NUMERIC_STAND_ALONE 2
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; MMMMM=MONTH_NARROW S
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; MMMM=MONTH_LONG September
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; MMM=MONTH_SHORT Sept
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; MM=MONTH_NUMERIC 9
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; M=MONTH_NUMERIC 9
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; LLLLL=MONTH_NARROW_STAND_ALONE S
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; LLLL=MONTH_LONG_STAND_ALONE September
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; LLL=MONTH_SHORT_STAND_ALONE Sept
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; LL=MONTH_NUMERIC_STAND_ALONE 09
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; L=MONTH_NUMERIC_STAND_ALONE 9
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; dd=DAY_NUMERIC 09
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; d=DAY_NUMERIC 9
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; eeeee=DAY_OF_WEEK_NARROW T
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; eeee=DAY_OF_WEEK_LONG Tuesday
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; eee=DAY_OF_WEEK_SHORT Tues
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; a=AM_PM am
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; hh==HOUR_12 9
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; h=HOUR_12 9
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; HH==HOUR_24 9
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; H=HOUR_24 9
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; mm=MINUTE 09
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; m=MINUTE 09
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; ss=SECOND 09
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; s=SECOND 09
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; S=FRACTIONAL_SECOND 234
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; zzzz=TIMEZONE_SPECIFIC_NON_LOCATION_LONG Pacific Daylight Time
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; z=TIMEZONE_SPECIFIC_NON_LOCATION_SHORT PDT
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; ZZZZ=LOCALIZED_GMT GMT+8:00
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; Z=RFC_822 -0800
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; vvvv=TIMEZONE_GENERIC_NON_LOCATION_SHORT Pacific Time
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; v=TIMEZONE_GENERIC_NON_LOCATION_SHORT PT
#
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; VVVV=TIMEZONE_GENERIC_LOCATION United States (Los Angeles) Time
#^//ldml/dates/.*(pattern|available|intervalFormatItem) ; V=TIMEZONE_SPECIFIC_NON_LOCATION_SHORT_FORCED PDT

^//ldml/dates/fields/field\[@type="day"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_DAYS 3
^//ldml/dates/fields/field\[@type="hour"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_HOURS 3
^//ldml/dates/fields/field\[@type="minute"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_MINUTES 3
^//ldml/dates/fields/field\[@type="month"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_MONTHS 3
^//ldml/dates/fields/field\[@type="second"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_SECONDS 3
^//ldml/dates/fields/field\[@type="week"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_WEEKS 3
^//ldml/dates/fields/field\[@type="year"]/relativeTime\[@type="(future|past)"]/relativeTimePattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_YEARS 3

^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Day-Of-Week"] ; {0}=BASE_FORMAT January 23; {1}=APPEND_FIELD_FORMAT Monday
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Timezone"] ; {0}=BASE_FORMAT 12:30; {1}=APPEND_FIELD_FORMAT Pacific Time
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Era"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT A.D.
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Year"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT 1992

^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Day"] ; {0}=BASE_FORMAT January; {1}=APPEND_FIELD_FORMAT 23; {2}=APPEND_FIELD_NAME Day
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="Hour"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT 10 AM; {2}=APPEND_FIELD_NAME Hour
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(Week|Quarter)"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT 3; {2}=APPEND_FIELD_NAME $1
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(Month)"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT February; {2}=APPEND_FIELD_NAME $1
^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/appendItems/appendItem\[@request="(Minute|Second)"] ; {0}=BASE_FORMAT Monday, January 23; {1}=APPEND_FIELD_FORMAT 53; {2}=APPEND_FIELD_NAME $1

^//ldml/dates/calendars/calendar\[@type="%A"]/dateTimeFormats/intervalFormats/intervalFormatFallback ; {0}=START_DATE_OR_TIME Nov 10; {1}=END_DATE_OR_TIME Dec 10
^//ldml/dates/calendars/calendar\[@type="%A"]/monthPatterns/monthPatternContext\[@type="%A"]/monthPatternWidth\[@type="%A"]/monthPattern\[@type="%A"] ; {0}=CHINESE_CALENDAR_MONTH_NAME Month4

^//ldml/dates/timeZoneNames/fallbackFormat ; {1}=METAZONE Pacific Time; {0}=CITY_OR_COUNTRY Los Angeles
^//ldml/dates/timeZoneNames/gmtFormat ; {0}=HOURS_FROM_GMT +3
^//ldml/dates/timeZoneNames/regionFormat ; {0}=COUNTRY_OR_CITY Canada

^//ldml/listPatterns/listPattern/listPatternPart\[@type="2"] ; {0}=ITEM1 Apples ; {1}=ITEM2 Oranges
^//ldml/listPatterns/listPattern/listPatternPart\[@type="start"] ; {0}=FIRST_ITEM Apples ; {1}=REMAINING_ITEMS Oranges, Peaches, and Grapes
^//ldml/listPatterns/listPattern/listPatternPart\[@type="middle"] ; {0}=FIRST_ITEMS Apples, Oranges ; {1}=LAST_ITEMS Peaches, and Grapes
^//ldml/listPatterns/listPattern/listPatternPart\[@type="end"] ; {0}=START_ITEMS Apples, Oranges, Peaches; {1}=LAST_ITEM Grapes

^//ldml/listPatterns/listPattern\[@type="unit"]/listPatternPart\[@type="2"] ; {0}=ITEM1 4 days; {1}=ITEM2 2 hours
^//ldml/listPatterns/listPattern\[@type="unit"]/listPatternPart\[@type="start"] ; {0}=FIRST_ITEM 4 days; {1}=REMAINING_ITEMS 2 hours, 37 minutes, and 23 seconds
^//ldml/listPatterns/listPattern\[@type="unit"]/listPatternPart\[@type="middle"] ; {0}=FIRST_ITEMS 4 days, 2 hours; {1}=LAST_ITEMS 37 minutes, and 23 seconds
^//ldml/listPatterns/listPattern\[@type="unit"]/listPatternPart\[@type="end"] ; {0}=START_ITEMS 4 days, 2 hours, 37 minutes; {1}=LAST_ITEM 23 seconds

^//ldml/listPatterns/listPattern\[@type="unit-short"]/listPatternPart\[@type="2"] ; {0}=ITEM1 4 days; {1}=ITEM2 2 hrs
^//ldml/listPatterns/listPattern\[@type="unit-short"]/listPatternPart\[@type="start"] ; {0}=FIRST_ITEM 4 days; {1}=REMAINING_ITEMS 2 hrs, 37 mins, and 23 secs
^//ldml/listPatterns/listPattern\[@type="unit-short"]/listPatternPart\[@type="middle"] ; {0}=FIRST_ITEMS 4 days, 2 hrs; {1}=LAST_ITEMS 37 mins, and 23 secs
^//ldml/listPatterns/listPattern\[@type="unit-short"]/listPatternPart\[@type="end"] ; {0}=START_ITEMS 4 days, 2 hrs, 37 mins; {1}=LAST_ITEM 23 secs

^//ldml/listPatterns/listPattern\[@type="unit-narrow"]/listPatternPart\[@type="2"] ; {0}=ITEM1 4 days; {1}=ITEM2 2 hrs
^//ldml/listPatterns/listPattern\[@type="unit-narrow"]/listPatternPart\[@type="start"] ; {0}=FIRST_ITEM 4 days; {1}=REMAINING_ITEMS 2 hrs, 37 mins, and 23 secs
^//ldml/listPatterns/listPattern\[@type="unit-narrow"]/listPatternPart\[@type="middle"] ; {0}=FIRST_ITEMS 4 days, 2 hrs; {1}=LAST_ITEMS 37 mins, and 23 secs
^//ldml/listPatterns/listPattern\[@type="unit-narrow"]/listPatternPart\[@type="end"] ; {0}=START_ITEMS 4 days, 2 hrs, 37 mins; {1}=LAST_ITEM 23 secs

^//ldml/localeDisplayNames/codePatterns/codePattern\[@type="language"] ; {0}=LANGUAGE_CODE zh
^//ldml/localeDisplayNames/codePatterns/codePattern\[@type="script"] ; {0}=SCRIPT_CODE Hans
^//ldml/localeDisplayNames/codePatterns/codePattern\[@type="territory"] ; {0}=REGION_CODE CN
^//ldml/localeDisplayNames/localeDisplayPattern/localePattern ; {0}=BASE_LANGUAGE Chinese; {1}=MODIFIERS Simplified, Singapore
^//ldml/localeDisplayNames/localeDisplayPattern/localeKeyTypePattern ; {0}=CATEGORY; {1}=SPECIFIC_NAME
^//ldml/localeDisplayNames/localeDisplayPattern/localeSeparator ; {0}=FIRST_ITEM Arabic ; {1}=SECOND_ITEM Afghanistan

^//ldml/numbers/currencyFormats/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME Dollars
^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME Dollars

^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"range\"] ; {0}=START_NUMBER 3 ; {1}=END_NUMBER 5
^//ldml/numbers/miscPatterns\[@numberSystem="%A"]/pattern\[@type=\"%A\"] ; {0}=NUMBER 3

^//ldml/units/unitLength\[@type="%L"]/compoundUnit\[@type="%A"]/compoundUnitPattern ; locale ; {0}=DIVIDEND UNIT meters ; {1}=DIVIDEND UNIT second

^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-day%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_DAYS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-hour%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_HOURS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-minute%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_MINUTES 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-month%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_MONTHS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-second%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_SECONDS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-week%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_WEEKS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-year%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_YEARS 3

^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-day%A"]/unitPattern ; {0}=NUMBER_OF_DAYS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-hour%A"]/unitPattern ; {0}=NUMBER_OF_HOURS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-minute%A"]/unitPattern ; {0}=NUMBER_OF_MINUTES 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-month%A"]/unitPattern ; {0}=NUMBER_OF_MONTHS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-second%A"]/unitPattern ; {0}=NUMBER_OF_SECONDS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-week%A"]/unitPattern ; {0}=NUMBER_OF_WEEKS 3
^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-year%A"]/unitPattern ; {0}=NUMBER_OF_YEARS 3

^//ldml/units/unitLength\[@type="%L"]/unit\[@type="%A"]/unitPattern\[@count="\w+"] ; locale ; {0}=NUMBER_OF_UNITS 3

# ^//ldml/numbers/currencyFormats/unitPattern\[@count="(%A)"]  ;  {0}=NUMBER 3 ; {1}=UNIT hour(s)

^//ldml/characters/ellipsis\[@type="final"] ; {0}=FIRST_PART_OF_TEXT very long na
^//ldml/characters/ellipsis\[@type="initial"] ; {0}=LAST_PART_OF_TEXT ry long name
^//ldml/characters/ellipsis\[@type="medial"] ; {0}=FIRST_PART_OF_TEXT very l; {1}=LAST_PART_OF_TEXT ng nam
^//ldml/characters/ellipsis\[@type="word-final"] ; {0}=FIRST_PART_OF_TEXT very long
^//ldml/characters/ellipsis\[@type="word-initial"] ; {0}=LAST_PART_OF_TEXT long name
^//ldml/characters/ellipsis\[@type="word-medial"] ; {0}=FIRST_PART_OF_TEXT very l; {1}=LAST_PART_OF_TEXT long
