in reply to Lookahead assertion confusion

You have all your parentheses as capturing ones. Try using (?:...) instead of (...) when you just want to group. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.