Fixed regex matcher bug with alternatives
Changed EOL matcher to match only one at a time