title: R agrep() function behaviour
body: <p>I have some trouble to understand the result of <code>agrep()</code> function. I don't understand what I have missed in the description of the function.
  <code>agrep()</code> is for fuzzy matching and I'd like to use it to correct some misspelling. I'd like to allow only a maximum of 2 insertions / deletions / substitutions.</p>
  
  <p>Here is my code just for an example:</p>
  
  <pre><code>check=c("73SAINTGERMAINLACHAMBOTTE","73CHAMBERY")
  agrep("73SAINTGERVAIS",check,ignore.case=TRUE,max.distance=2,value=TRUE)
  </code></pre>
  
  <p>Here, what I expect is to have no answer for this request because I can't transform <code>"73SAINTGERVAIS"</code> into <code>"73SAINTGERMAINLACHAMBOTTE"</code> or <code>"73CHAMBERY"</code> with a maximum of 2 insertions / deletions / substitutions.
  However, the result is :</p>
  
  <pre><code>[1] "73SAINTGERMAINLACHAMBOTTE"
  </code></pre>
  
  <p>Does it mean that the notion of insertions / deletions / substitutions isn't character-based (I mean the string <code>"MAINLACHALBOTTE"</code> is considered as 1 insertion)?</p>