title: Zero position matters: one selection problem
body: <p>I'd like to match some results by a rule. In my case:</p>
  <pre><code>original.names &lt;- c(&quot;TL-13&quot;,&quot;TL-09&quot;,&quot;TL-12&quot;,&quot;TL-19A&quot;,&quot;TL-11&quot;,&quot;TL-20&quot;,&quot;TL-16&quot;,
  &quot;TL-15&quot;,&quot;TL-14&quot;,&quot;TL-10&quot;,&quot;TL-18&quot;,&quot;TL-19&quot;,&quot;TL-08A&quot;,&quot;TL-07A&quot;,&quot;TL-17A&quot;,&quot;TL-17&quot;,
  &quot;TL-21&quot;,&quot;TL-09A&quot;,&quot;TL-22&quot;,&quot;TL-08&quot;,&quot;TL-05&quot;,&quot;TL-03&quot;,&quot;TL-06&quot;,&quot;TL-07&quot;,&quot;TL-02&quot;,&quot;TL-04&quot;,&quot;TL-01&quot;) 
  
  selection &lt;- c(1)
  
  which(original.names==selection)
  #integer(0)
  </code></pre>
  <p>But in my case <code>TL-01</code> is <code>1</code>. If I make <code>which(gsub(&quot;TL-|0&quot;,&quot;&quot;,original.names)==selection)</code>, it doesn't work too
  because <code>10</code> and <code>01</code> are different and <code>gsub</code> turns equal. Sometimes I have something like <code>8A</code> (number-alphabetic) and I need to consider this situation too.</p>
  <p>Please any help with it?</p>