Removed some regexes from @patterns for clarity

The 3 basic regexes make sense to put inside @patterns because they are involved in a for loop together. However, the last two more complex cases are different from the first 3. Because they are more complex, having variables with meaningful names makes things clearer. Also, addes some comments to better visually break up the sections of the program.