Automattic / wp-cldr

Use CLDR localization data in WordPress
GNU General Public License v2.0
24 stars 6 forks source link

Anchor `get_territories_contained` regexes #73

Closed jblz closed 8 years ago

jblz commented 8 years ago

Anchor get_territories_contained regexes to the start & end of inspected strings

Otherwise, we could be matching strings here that we shouldn't.

As noted here -- thanks, @akirk!

akirk commented 8 years ago

Looks good to me!