jruby (tested with 1.7.5 and 1.7.8) goes down when confronted with a lookbehind that includes another anchor. SyntaxError: (RegexpError) invalid pattern in look-behind: /(?<=\bfoo)bar./