Day 22 of posting a different algorithm every day until I don't want to anymore: I should probably change the name of this series because today I really didn't want to post an algorithm. I'm doing it ...
text: A string consisting only of lowercase alphabetical characters. pattern: A string consisting only of lowercase alphabetical characters.