What I need is something like this:
/<[wd]+ ([wd]+=[wd])+/>/
Something that would match several attribute key/value pairs. Is that possible?
You'll have much more succes using an XML parser, for example, XML::Parser. Parsing XML using regular expressions is very difficult (impossible?) and unless your use case is trivial, a proper XML parser is the reliable solution.
1.4m articles
1.4m replys
5 comments
57.0k users