is a submodule of |
| ||||||||
has properties |
| ||||||||
is defined at |
|
<Toplevel Module>
Object
(
Builtin-Module
)
Struct
(
Builtin-Module
)
#53
in
active_support/vendor/i18n-0.4.1/i18n/locale/tag/rfc4646.rb
PATTERN
=
%r{\A(?: ([a-z]{2,3}(?:(?:-[a-z]{3}){0,3})?|[a-z]{4}|[a-z]{5,8}) # language (?:-([a-z]{4}))? # script (?:-([a-z]{2}|\d{3}))? # region (?:-([0-9a-z]{5,8}|\d[0-9a-z]{3}))* # variant (?:-([0-9a-wyz](?:-[0-9a-z]{2,8})+))* # extension (?:-(x(?:-[0-9a-z]{1,8})+))?| # privateuse subtag (x(?:-[0-9a-z]{1,8})+)| # privateuse tag /* ([a-z]{1,3}(?:-[0-9a-z]{2,8}){1,2}) */ # grandfathered )\z}xi
|