span> <span class="st">&quot;</span><span class="sc">\\</span><span class="st">d+&quot;</span>, <span class="at">text =</span> shopping_list) <span class="co"># digits</span></span>
<span id="cb14-5"><a href="#cb14-5" tabindex="-1"></a><span class="fu">regmatches</span>(shopping_list, <span class="at">m =</span> matches)</span>
<span id="cb14-6"><a href="#cb14-6" tabindex="-1"></a><span class="co">#&gt; [1] &quot;4&quot;  &quot;10&quot; &quot;2&quot;</span></span>
<span id="cb14-7"><a href="#cb14-7" tabinde