numeric-quantity - v2.0.1
    Preparing search index...

    Variable numericRegexConst

    numericRegex: RegExp = ...

    Captures the individual elements of a numeric string.

    Capture groups:

    # Description Example(s)
    0 entire string "2 1/3" from "2 1/3"
    1 "negative" dash "-" from "-2 1/3"
    2 whole number or numerator "2" from "2 1/3"; "1" from "1/3"
    3 entire fraction, decimal portion, or denominator " 1/3" from "2 1/3"; ".33" from "2.33"; "/3" from "1/3"

    Capture group 2 may include comma/underscore separators.

    numericRegex.exec("1")     // [ "1",     "1", null,   null ]
    numericRegex.exec("1.23") // [ "1.23", "1", ".23", null ]
    numericRegex.exec("1 2/3") // [ "1 2/3", "1", " 2/3", " 2" ]
    numericRegex.exec("2/3") // [ "2/3", "2", "/3", null ]
    numericRegex.exec("2 / 3") // [ "2 / 3", "2", "/ 3", null ]