max.distance: Maximum distance allowed for a match. Expressed either
as integer, or as a fraction of the pattern length (will be
replaced by the smallest integer not less than the
corresponding fraction), or a list with possible components
'all': maximal (overall) distance
'insertions': maximum number/fraction of insertions
'deletions': maximum number/fraction of deletions
'substitutions': maximum number/fraction of substitutions
If 'all' is missing, it is set to 10%, the other components
default to 'all'. The component names can be abbreviated.