@@ -1670,7 +1670,7 @@ EOW
1670
1670
{
1671
1671
# [github #18614 - handling of Unicode characters in regexes]
1672
1672
# [github #18764 - ... without breaking subsequent Latin-1]
1673
- if ($] lt ' 5.010' ) {
1673
+ if (" $] " < ' 5.010' ) {
1674
1674
SKIP_BOTH(" Incomplete support for UTF-8 in old perls" );
1675
1675
last ;
1676
1676
}
@@ -1683,11 +1683,11 @@ EOW
1683
1683
# '\xb6 '
1684
1684
#];
1685
1685
EOW
1686
- if ($] lt ' 5.010001' ) {
1686
+ if (" $] " < ' 5.010001' ) {
1687
1687
$want =~ s ! qr/! qr/(?-xism:! g ;
1688
1688
$want =~ s ! /,! )/,! g ;
1689
1689
}
1690
- elsif ($] gt ' 5.014' ) {
1690
+ elsif (" $] " > ' 5.014' ) {
1691
1691
$want =~ s { /(,?)$} { /u$1 } mg ;
1692
1692
}
1693
1693
my $want_xs = $want ;
@@ -1713,7 +1713,7 @@ EOW
1713
1713
# qr/ $bs$bs$bs \\ / /
1714
1714
#];
1715
1715
EOW
1716
- if ($] lt ' 5.010001' ) {
1716
+ if (" $] " < ' 5.010001' ) {
1717
1717
$want =~ s ! qr/! qr/(?-xism:! g ;
1718
1718
$want =~ s ! /! )/! g ;
1719
1719
}
@@ -1724,7 +1724,7 @@ EOW
1724
1724
# ############
1725
1725
{
1726
1726
# [github #18614, github #18764, perl #58608 corner cases]
1727
- if ($] lt ' 5.010' ) {
1727
+ if (" $] " < ' 5.010' ) {
1728
1728
SKIP_BOTH(" Incomplete support for UTF-8 in old perls" );
1729
1729
last ;
1730
1730
}
@@ -1738,11 +1738,11 @@ EOW
1738
1738
# '\xB6 '
1739
1739
#];
1740
1740
EOW
1741
- if ($] lt ' 5.010001' ) {
1741
+ if (" $] " < ' 5.010001' ) {
1742
1742
$want =~ s ! qr/! qr/(?-xism:! g ;
1743
1743
$want =~ s ! /,! )/,! g ;
1744
1744
}
1745
- elsif ($] gt ' 5.014' ) {
1745
+ elsif (" $] " > ' 5.014' ) {
1746
1746
$want =~ s { /(,?)$} { /u$1 } mg ;
1747
1747
}
1748
1748
my $want_xs = $want ;
@@ -1772,10 +1772,10 @@ EOW
1772
1772
# '\xB6 '
1773
1773
#];
1774
1774
EOW
1775
- if ($] lt ' 5.014' ) {
1775
+ if (" $] " < ' 5.014' ) {
1776
1776
$want =~ s { /u,$} { /,} mg ;
1777
1777
}
1778
- if ($] lt ' 5.010001' ) {
1778
+ if (" $] " < ' 5.010001' ) {
1779
1779
$want =~ s ! qr/! qr/(?-xism:! g ;
1780
1780
$want =~ s ! /,! )/,! g ;
1781
1781
}
0 commit comments