Aliases: agrep agrepl 'fuzzy matching' .amatch_bounds .amatch_costs
Keywords: character
### ** Examples agrep("lasy", "1 lazy 2")
[1] 1
agrep("lasy", c(" 1 lazy 2", "1 lasy 2"), max.distance = list(sub = 0))
[1] 2
agrep("laysy", c("1 lazy", "1", "1 LAZY"), max.distance = 2)
[1] 1
agrep("laysy", c("1 lazy", "1", "1 LAZY"), max.distance = 2, value = TRUE)
[1] "1 lazy"
agrep("laysy", c("1 lazy", "1", "1 LAZY"), max.distance = 2, ignore.case = TRUE)
[1] 1 3