in reply to Re^2: Regex for matching dotted numbers
in thread Regex for matching dotted numbers
@nums = $dotted_num_string =~ /(?:(\d+)\.?)/g;
but allows a final trailing dot.
I think your idea of using split, with suitable tests, is probably the best generic solution, barring any further constraints.
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|