Help for this page
$str =~ m% <first> # "<first>" ... (?:(?!<first>).)*? # In the same record, <content>maps</content> # "content" must be "maps". %xgsi;