Removed 'dom' flag. Renamed 'htmlClass' => 'class'.

Repurposed 'text' as a flag for 'match' (the only overwritten method).

Updated tests + README.