I've got a little problem of comprehension with my regex I just want add a variable inside my regex
I've got this:
static test(Prefix, version: string) {
    return "/^" + Prefix + "[0-9]*.[0-9]*.[0-9]*-[0-9]*-(SNAPSHOT)$/.test(version);
} 
// I don't understand where to put my last " 
thanks for your help
 
    