We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The $` global is the string to the left of the last successful match.
If you do this:
str = 'hello goodbye'; str[/good/]
Then this:
[ $`, $&, $' ]
Yields this:
[ "hello ", "good", "bye" ]