Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1 Regex Dictionary For this section, I want you to answer questions about the dictionary file words.txt. If you're using a Unix system, feel free
1 Regex Dictionary For this section, I want you to answer questions about the dictionary file words.txt. If you're using a Unix system, feel free to use the dictionary file included on your computer. Some words begin with capital letters! Please include each egex with your answer 1. I like anials. How many words contain the word cat or dog' in them? 2. Four letters words are supposedly naughty. How many four letter words are there? 3. Do more words end in "ing or "ion?" . How many words contain a q not immediately followed by a u. 5. How many words have no vowels? 6. How many words with two vowels in a row are there? 7. How many words with at least two vowels are there? The vowels need not be adjacent, like in the previous problem. If you are having trouble, please see this link. 2 MORE REGEX 2 More Regex 1. What is the difference between and.? ? 2. How would you write a regex that matches the full name of someone whose last name is Nakamoto? You can assume that the first name that comes before it will always be one word that begins with a capital letter. The regex .ust match the following: . Satoshi Nakamoto Alice Nakamoto 'RoboCop Nakamoto but not the following
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started