Question: python Problem 1: Spelling Write a regular expression that matches violations of the old spelling rule I before E except after C or when sounded
Problem 1: Spelling Write a regular expression that matches violations of the old spelling rule "I before E except after C or when sounded like A as in neighbor or weigh" 14]: SPELL_RE =r(?1)(?1cie)([az])(az])([1e])(?![az]) The following code block will test your regular expression by trying it against a bunch of strings. If your answer is correct it should pass 100% of the tests
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
