C++ console program that validates the input of different types of character strings based on the following regular expressions:
- Digit: [0-9]
- Letter = [a-zA-Z]
- Integer = digit+
- Real Number = digit+ . digit+
- Identifier = letter (digit | letter ) *
- Operator = (+ | | - | | * | / | %)
Note
School project for compiler design class at URU.