google / rust_icu

rust_icu: rust bindings for ICU (International Components for Unicode) library
Apache License 2.0
117 stars 28 forks source link

Adjust the time zone data regex #222

Closed filmil closed 3 years ago

filmil commented 3 years ago

Starting from ICU 70, the time zone data version can have more than a single letter after the release number. We used to have versions like 2020a, 2020b etc. With ICU 70, we get 2021a1.

We're adopting the same regex as in: https://fuchsia-review.googlesource.com/c/fuchsia/+/597898 for quick checks of the version string.

Fixes: #221