break up regex for readability & fail gracefully