Question: a) (Spt) Build a regular expression that captures any number in the following formats: 3.1452926 -212.45 126 1.9e10 For simplicity, assume only a nonnegative integer

a) (Spt) Build a regular expression that captures any number in the following formats: 3.1452926 -212.45 126 1.9e10 For simplicity, assume only a nonnegative integer may appear after 'e'. Use ' for symbol b) (5pt) Build a regular expression that captures all non-empty sequences of letters other than "for". For your convenience, you may use a "not" operator that takes a set of letters as argument and matches any other letter. For instance, not(abc) matches any letter other than a, b and c. Use to match any letter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
