(no title)
denzquix | 1 year ago
There's an additional caveat: if you use the optional "init" parameter to specify an offset into the string to start matching, the ^ anchor will match at that offset, which may or may not be what you expect.
denzquix | 1 year ago
There's an additional caveat: if you use the optional "init" parameter to specify an offset into the string to start matching, the ^ anchor will match at that offset, which may or may not be what you expect.
vitiral|1 year ago
Dylan16807|1 year ago
I find it hard to imagine any other expectation passing the rubber duck test.
"Oh, so you expected the match to always fail, no matter what the string was?"
denzquix|1 year ago
Don't get me wrong, it's certainly far more useful as it is, I'm glad it works this way.