Refine the regex that validates text nodes!