We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e57f65 commit d484783Copy full SHA for d484783
lib/version/regex.pm
@@ -81,7 +81,7 @@ $STRICT =
81
# decimal-point
82
83
my $LAX_DECIMAL_VERSION =
84
- qr/ $LAX_INTEGER_PART (?: \. | $FRACTION_PART $LAX_ALPHA_PART? )?
+ qr/ $LAX_INTEGER_PART (?: $FRACTION_PART | \. )? $LAX_ALPHA_PART?
85
|
86
$FRACTION_PART $LAX_ALPHA_PART?
87
/x;
@@ -106,7 +106,7 @@ my $LAX_DOTTED_DECIMAL_VERSION =
106
# of return values from ExtUtils::MM->parse_version
107
108
$LAX =
109
- qr/ undef | $LAX_DECIMAL_VERSION | $LAX_DOTTED_DECIMAL_VERSION /x;
+ qr/ undef | $LAX_DOTTED_DECIMAL_VERSION | $LAX_DECIMAL_VERSION /x;
110
111
#--------------------------------------------------------------------------#
112
0 commit comments