COMPUTER SCIENCE AND ENGINEERING
COMPILER DESIGN
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Explanation:
Detailed explanation-1: -Using character sets In a character set a ^ character negates the following characters. For example [^A-Z] matches any single character that is not a capital letter.
Detailed explanation-2: -[A-Za-z] will match all the alphabets (both lowercase and uppercase).
Detailed explanation-3: -[A-z] will match ASCII characters in the range from A to z, while [a-zA-Z] will match ASCII characters in the range from A to Z and in the range from a to z .
There is 1 question to complete.