I'm using regex debuger, regexbuddy.com/, to debug different regex flavors. It saved me a lot of time over the years. It can also run on linux (using Wine).
They also have a tool for building regexps, regexmagic.com/, but I'm not using is so I'm just saying it is out there.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.