regex optimization in htmlparser
v1.0.5