Need to test for nil before regex.