Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 12 - Regular Expressions and Finite-State Automata - Exercise Set 12.1 - Page 790: 39

Answer

$([+ −] |e )[0 − 9]∗( \ / . |e)[0 − 9]∗$

Work Step by Step

All signed or unsigned numbers with or without a decimal point. - A signed number has one of the prefixes + or −, and an unsigned number does not have a prefix. -Represent the decimal point as \. to distinguish it from the single dot symbol for an arbitrary character. --$([+ −] |e )[0 − 9]∗( \ / . |e)[0 − 9]∗$
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.