makeOptional

fun makeOptional(flags: Int, exp: RegExp): RegExp