fix session regex for 1.8 support.

was previously using a lookbehind that 1.8 blew up on.