Consider splitting this up for reasons of maintainability. While it's entirely expected of the syntax, regexps like this are difficult to read as one-liners.