COMPUTER SCIENCE AND ENGINEERING
COMPILER DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Regular set for the regular expression b+ denotes
|
zero or more occurrences of b
|
|
one or more occurrences of b
|
|
only one occurrence ofb
|
|
none of the mentioned
|
Explanation:
Detailed explanation-1: -A regular expression is a specific pattern that provides concise and flexible means to match (specify and recognize) strings of text, such as particular characters, words, or patterns of characters. It can also be used to search for hex strings that represent non-ASCII characters.
Detailed explanation-2: -A regular expression followed by a plus sign ( + ) matches one or more occurrences of the one-character regular expression. If there is any choice, the first matching string in a line is used.
Detailed explanation-3: -Using regex -matches-between the word color-coded . Using -¯o¯n the other hand matches the-in nine-digit and pass-key .
There is 1 question to complete.