At the first sight it looks like it’s working because something =
“blahblahblah” is valid. However, so is this: something = “blah meh
55”. It’s just that your regex matched a substring of the value and not
the whole thing. The proper regex you’re looking for is actually: