Discovered a flaw with greedy loops and trailing content -_-;;