in reply to Regex a little less greedy please
Check out perlre for more info on perl's regex engine.my $str = q[<APPEND changed_date="02-02-2003">This is sample text</APPEND>]; print "match: ", $str =~ m{ <APPEND (.*?) > }x, $/; print "post: ", $', $/; __output__ match: changed_date="02-02-2003" post: This is sample text</APPEND>
_________
broquaint
|
---|