Question: Problem 1 : FSA ( 3 pts ) Design an FSA that will recognize date expressions that come in two forms: 1 9 / 1
Problem : FSA ptsDesign an FSA that will recognize date expressions that come in two forms: the day is first or Jan Assume that date strings are fed to your FSA one character at a time. In general, assume the patterns are either DDMMYYYY or DD MMM YYYY where MM a one or twodigit month string, between and inclusive; DD a one or twodigit day string, between and inclusive; and YYYY a onetofourdigit year string, between and inclusive; and MMM a three character month string, starting with a capital letter, one of Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, or Dec. In the first pattern, there will be no whitespace; in the second pattern, assume that the daymonth and monthyear strings are separated by a single space.Problem a: Regular Expressions ptWrite your solution to Problem as a regular expression. You may split the regular expression in parts if you so wish.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
