I have such code
Code: Select all
<td class='text3 bold'>Some_text:</td>
<td class="text2">Text: <a ....>here,</a> there <a....>and there</a>and so on</td>
Expressios like
Code: Select all
<td class='text3 bold'>Some_text:</td>(.*)<td class="text2">(.*)<a(.*)>(.*)</a>, <a(.*)>(.*)</a>(.*)</td>
produce errors like
"The recursion and backtracking limit has been exceeded. Rewrite the pattern"
And what if more or less links (from 1 то 3) (random) in needed block?