OS: Ubuntu 16.04 x64 jsc build version: 234689 Steps to reproduce: t = new RegExp ("(?!(a)b)|ab").exec("ab"); print(t[0] == "ab"); print(t[1] == undefined); print(t) Actual results: true false ab,a Expected results: true true ab, V8, SpiderMonkey and Chakra works as expected. cinfuzz