42 $cldrFormulaAndExamplesNormalized = trim(preg_replace(
'/\s+/',
' ', $cldrFormulaAndExamples));
A helper class that handles a single category rules (eg 'zero', 'one', ...) and its formula and examp...
getExampleIntegers()
Return a list of numbers corresponding to the $examples value.
static expandExamples($examples)
Expand a list of examples as defined by CLDR.
__construct($cldrCategoryId, $cldrFormulaAndExamples)
Initialize the instance and parse the formula.