Broke several long regex-y statements into readable lines