Use a stricter approach to detect regular expressions in HTML data attributes.
Refactor special options handling.