Module: Bike::I18n::REX

Defined in:
lib/_i18n.rb

Constant Summary collapse

COMMENT =
%r{^\s*\#}
COMMENT_FUZZY =
%r{^\s*\#\,\s*fuzzy}
MSGID =
%r{^\s*msgid\s*"(.*?[^\\])"}
MSGSTR =
%r{^\s*msgstr\s*"(.*?[^\\])"}
MSGSTR_PLURAL =
%r{^\s*msgstr\[(\d+)\]\s*"(.*?[^\\])"}
PLURAL_EXPRESSION =
%r{
  ^"Plural-Forms:.*plural=
  ((?:
    n(?=\s*(?:[\+\-\%]|==|!=|>|<|>=|<=))|
    [\d\s\+\-\%\(\)\?\:]+|
    ==|!=|>|<|>=|<=|&&|\|\|)+).*"
}xi