multiline regex adjustment for first line cjs require