@@ -799,7 +799,7 @@ var QUERIES = [
799
799
select : sinceQuery
800
800
} ,
801
801
{
802
- regexp : / ^ ( > = ? | < = ? ) \s * ( d + | \d * \. \d + ) % $ / ,
802
+ regexp : / ^ ( > = ? | < = ? ) \s * ( \ d+ | \d + \. \d + | \. \d + ) % $ / ,
803
803
select : function ( context , sign , popularity ) {
804
804
popularity = parseFloat ( popularity )
805
805
var usage = browserslist . usage . global
@@ -824,7 +824,7 @@ var QUERIES = [
824
824
}
825
825
} ,
826
826
{
827
- regexp : / ^ ( > = ? | < = ? ) \s * ( d + | \d * \. \d + ) % \s + i n \s + m y \s + s t a t s $ / ,
827
+ regexp : / ^ ( > = ? | < = ? ) \s * ( \ d+ | \d + \. \d + | \. \d + ) % \s + i n \s + m y \s + s t a t s $ / ,
828
828
select : function ( context , sign , popularity ) {
829
829
popularity = parseFloat ( popularity )
830
830
if ( ! context . customUsage ) {
@@ -852,12 +852,12 @@ var QUERIES = [
852
852
}
853
853
} ,
854
854
{
855
- regexp : / ^ ( > = ? | < = ? ) \s * ( d + | \d * \. \d + ) % \s + i n \s + ( \S + ) \s + s t a t s $ / ,
855
+ regexp : / ^ ( > = ? | < = ? ) \s * ( \ d+ | \d + \. \d + | \. \d + ) % \s + i n \s + ( \S + ) \s + s t a t s $ / ,
856
856
select : function ( context , sign , popularity , name ) {
857
857
popularity = parseFloat ( popularity )
858
858
var stats = env . loadStat ( context , name , browserslist . data )
859
859
if ( stats ) {
860
- context . customUsage = { }
860
+ context . customUsage = { }
861
861
for ( var browser in stats ) {
862
862
fillUsage ( context . customUsage , browser , stats [ browser ] )
863
863
}
@@ -887,7 +887,7 @@ var QUERIES = [
887
887
}
888
888
} ,
889
889
{
890
- regexp : / ^ ( > = ? | < = ? ) \s * ( d + | \d * \. \d + ) % \s + i n \s + ( ( a l t - ) ? \w \w ) $ / ,
890
+ regexp : / ^ ( > = ? | < = ? ) \s * ( \ d+ | \d + \. \d + | \. \d + ) % \s + i n \s + ( ( a l t - ) ? \w \w ) $ / ,
891
891
select : function ( context , sign , popularity , place ) {
892
892
popularity = parseFloat ( popularity )
893
893
if ( place . length === 2 ) {
@@ -918,11 +918,11 @@ var QUERIES = [
918
918
}
919
919
} ,
920
920
{
921
- regexp : / ^ c o v e r \s + ( d + | \d * \. \d + ) % $ / ,
921
+ regexp : / ^ c o v e r \s + ( \ d+ | \d + \. \d + | \. \d + ) % $ / ,
922
922
select : coverQuery
923
923
} ,
924
924
{
925
- regexp : / ^ c o v e r \s + ( d + | \d * \. \d + ) % \s + i n \s + ( m y \s + s t a t s | ( a l t - ) ? \w \w ) $ / ,
925
+ regexp : / ^ c o v e r \s + ( \ d+ | \d + \. \d + | \. \d + ) % \s + i n \s + ( m y \s + s t a t s | ( a l t - ) ? \w \w ) $ / ,
926
926
select : coverQuery
927
927
} ,
928
928
{
0 commit comments