Choose the correct option which matches with the given regular expression ab?C* select one or more: a. Abbcde b. Acb c. Abc d. Abbc
Answers
Answer:
a is correct as seeing this expression
Regular Expressions
A Regular Expression is a specification of a pattern of characters. The typical use of a regular expression is to find occurrences of the pattern in a string. Regular expressions have a flexible syntax that allows them to handle a range of tasks - from trivial substring matches to complex nested motifs. The syntax of regular expressions is a programming language in its own right, and is a powerful way of concisely and uniquely defining a pattern.
Regular expressions are examples of deterministic pattern matching - they either match a particular expression or not. This is in contrast to probabilistic pattern matching in which a pattern is more or less similar to an example.
Hence,
option ,a). Abbcde and d). Abbc are correct.
Project code#SPJ2