Hallo zusammen,
ich hab mal wieder ein Problem mit einem regulären Ausdruck:
[autoit]#include <Array.au3>
Local $s_check = '<td width="73"">Der Text:</div></td>' & @LF & @TAB & @TAB & _
'<td valign="top">' & @LF & @TAB & @TAB & @TAB & @TAB & @TAB & @TAB & _
' Dies hier möchte ich haben! ' & @LF & @LF & @TAB & '</td>' & @LF & @TAB & @TAB & '</tr>' & @TAB & @LF
Local $AS_RET = StringRegExp($s_check, '(?i):</div></td>(.*?)</tr>', 3)
MsgBox(64, "Error", @error)
_ArrayDisplay($AS_RET)
Ich meine auch mal gelesen zu haben, dass der Punkt (.) nicht Linefeeds berücksichtigt, wenn ich also das Ganze mit
StringReplace($s_check, @LF, "")
[/autoit]ersetze, bekomme ich es auch hin. Wie muss ich denn "\n" für Linefeed in das Pattern einbauen?! Die Group frisst das irgendwie nicht...