YAML subsequent as substring
<p>How to use variables in YAML? Let's get the code</p>

<pre>
hr:
  - Mark McGwire
  - &SS Sammy Sosa
rbi:
  - *SS
  - Lorem *SS ipsum
  - Ken Griffey
</pre>

<p>The <pre>  - *SS</pre> line returns <code>Sammy Sosa</code> string that is OK.</p>

<p>But the <pre>  - Lorem *SS ipsum</pre> line returns <code>Lorem *SS ipsum</code> string as it takes the subsequent <code>*SS</code> literally and does not interpret it.</p>