Pretty sure you mean

````ruby
/(ASCII)|(HTML document text)/ 
````

Or else `ASCII document text` also matches which isn't what you're looking for.