Source of the unit-of-measure word pattern, shared by firstWordRegEx, the trailing-unit
regexes in parsePhases, and buildTrailingQuantityRegex so they cannot drift.
Contains no capture groups (only (?:…) and the escaped literal parens in
\(…\)), so inlining it any number of times cannot perturb group indices.
Source of the unit-of-measure word pattern, shared by
firstWordRegEx, the trailing-unit regexes inparsePhases, andbuildTrailingQuantityRegexso they cannot drift.Contains no capture groups (only
(?:…)and the escaped literal parens in\(…\)), so inlining it any number of times cannot perturb group indices.