OP wants to match on a pattern, e.g.
\d+\.\d+, not the specific number 12345.67890 .. (note also in your regex you didn't escape the period).
a
switch is probably overkill here -- can just use if/else .. and avoids the caveats about using
Switch -- see this node:
using switch