Regex não ganancioso (preguiçoso)
Eu estou tentando não avidamente analisar tags TD. Estou começando com algo assim:
<TD>stuff<TD align="right">More stuff<TD align="right>Other stuff<TD>things<TD>more things
Eu estou usando o abaixo como meu regex:
Regex.Split(tempS, @"\<TD[.\s]*?\>");
Os registros retornam conforme abaixo:
""
"stuff<TD align="right">More stuff<TD align="right>Other stuff"
"things"
"more things"
Por que não está dividindo o primeiro resultado completo (aquele que começa com "coisas")? Como posso ajustar o regex para dividir em todas as instâncias da tag TD com ou sem parâmetros?