For which of the following applications regular expressions can be used ?
Tripura Public Service Commission - 2019,
Answer: D
Regular expressions can be used for all of the above.
They describe the tokens recognised by the lexical analyser when designing compilers, power the search-and-replace features of text editors, and, because they are equivalent to finite automata, model the behaviour of sequential circuits, which are finite-state machines.
Since each listed application is a genuine use, no single option is complete.
Please log in or register to report this question.