a) you really don't want to use regexen to parse XML, 2) XML::Twig, III) profit!
Update: To get you kick started, you'd want to use xpath along the lines of age[string()=~ /\A 43 \z/x] then find the name node using something like prev_sibling("name").
The cake is a lie.
The cake is a lie.
The cake is a lie.
In reply to Re: I want to find a group of pattern in a xml file
by Fletch
in thread I want to find a group of pattern in a xml file
by cybär
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |