A
Anthony Walsh
I'm trying to parse through some html code and count the number of times
a match happens. The file is a large table with a ton of <tr> and <tr
'something'>. There are no spaces in the file. I'm trying to count and
print each <tr> and <tr 'something'>.
I haven't even gotten to counting my matches. I'm still working on
matching with <tr> or <tr 'anything'>
I've done:
op_file = HTML_CODE
if op_file =~ /(<tr(.*?)>)+/
but it catches everything on from the first <tr to the end of the line.
Any ideas?
-Shinkaku
a match happens. The file is a large table with a ton of <tr> and <tr
'something'>. There are no spaces in the file. I'm trying to count and
print each <tr> and <tr 'something'>.
I haven't even gotten to counting my matches. I'm still working on
matching with <tr> or <tr 'anything'>
I've done:
op_file = HTML_CODE
if op_file =~ /(<tr(.*?)>)+/
but it catches everything on from the first <tr to the end of the line.
Any ideas?
-Shinkaku