Write a regular expression to describe each of the


Write a regular expression to describe each of the following programming language constructs:

(a) Any sequence of tabs and white spaces

(b) Comments in a language the students are familiar with (For Ex. C programming language ).

(c) Algebraic expressions involving addition, subtraction, multiplication and division, for an alphabet Σ = {+,-,×,÷,id }. Here id stands for an identifier.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write a regular expression to describe each of the
Reference No:- TGS01206211

Expected delivery within 24 Hours