[Bioperl-l] approximate regular expression
Florent Angly
florent.angly at gmail.com
Fri Mar 23 00:07:47 UTC 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
<http://search.cpan.org/%7Ejhi/String-Approx-3.26/Approx.pm#MODIFIERS>
for how to specify the modifiers.
Florent
More information about the Bioperl-l
mailing list