[Bioperl-l] approximate regular expression

Florent Angly florent.angly at gmail.com
Thu Mar 22 20:07:47 EDT 2012

On 23/03/12 06:47, José Ramón Blas Pastor wrote:
> How could I achieve that this 'while' allow 1 substitution from $pattern?

Hi José,
You can specify a number (or percentage) of insertions, deletions or 
substitutions in String::Approx by using modifiers:
> @matches  =  amatch("pattern",  [  modifiers],  @inputs)
See http://search.cpan.org/~jhi/String-Approx-3.26/Approx.pm#MODIFIERS 
for how to specify the modifiers.

More information about the Bioperl-l mailing list