Please use handwriting
Draw an automaton that accepts the regular expression b?a(c+ b)*
Let input.txt be a file containing a sequence of strings. The strings are separated using new lines. Write a Perl program match.pl which reads a file input.txt and print (1) strings that contain “hi”, (2) strings that contain exact one vowel characters (i.e. a, e, i, o, u), and (3) strings that contain two or more `l’, and (4) strings that begin with the letter “h” and end with the letter “t”. Assume that input.txt contains only characters a-z.
etc..

WhatsApp us