in reply to why this regular expression is so slow?
If you give us a verbal description of what you want to achieve, maybe we can come up with a better solution that involves less backtracking.