Good catch--thank you. Have updated the code.
In reply to Re^2: Parsing and searching HTML code by Kenosis in thread Parsing and searching HTML code by jayto