Proposal : List of regular expressions for numeric syntax on different HP calculators
|
06-08-2019, 05:44 AM
Post: #8
|
|||
|
|||
RE: Proposal : List of regular expressions for numeric syntax on different HP calculators
Are you interested in the resulting number format or the user's entry sequence? It looks like the final result but one never knows.
You've missed the finite number of digits that can be entered, the expressions posted so far allow any number of digits which simply isn't possible on a calculator. No calculator that I'm aware of allows a leading plus sign. Minus or nothing both for the mantissa and exponent. If you are following the user's key sequence, then e.g. the +/- key can be pressed at any time and as many times desired. Regular expressions for reals are tricky Pauli |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)