Which pattern matches exactly the text 1+1?
/^1\+1$//^1+1$//^[1+1]$//^1\\+1$/
+ is a quantifier, so it must be escaped as \+ to match a literal plus sign.1+1?/^1\+1$//^1+1$//^[1+1]$//^1\\+1$/+ is a quantifier, so it must be escaped as \+ to match a literal plus sign.