Fixes regex to allow whitespace between text and cdata tag.