fix the regex for numberentry parts

Now allows negative numbers (or even a prefix + symbol)

see #324