fixes #125: safely concat regexp and in/instanceof with compact: true
Merge pull request #126 from michaelficarra/GH-125

fixes #125: safely concat regexp and in/instanceof with compact: true