| Regexp-MinLength documentation | view source | Contained in the Regexp-MinLength distribution. |
Regexp::MinLength - Perl extension for determining the minimum matching length for a regular expression
use Regexp::MinLength qw(MinLength); my $min = MinLength($regex);
This module determines the minimum matching length for a regular expression.
Returns the minimum matching length, that is, the length of the shortest string that will match the given regular expression.
my $regex = "\\d"; my $min = MinLength($regex);
See Regexp::Parser
Leigh Metcalf, <leigh@fprime.net<gt>
Copyright (C) 2008 by Leigh Metcalf
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
| Regexp-MinLength documentation | view source | Contained in the Regexp-MinLength distribution. |