@ 2018-04-19T05:07:08Z <?php
$re = '/(?<=url\()(?P<url>(.+)\w{3,4})(?=\)\s)/m';
$str = '/* latin-ext */
@font-face {
font-family: \'Lato\';
font-style: normal;
font-weight: 400;
src: local(\'Lato Regular\'), local(\'Lato-Regular\'), url(https://fonts.gstatic.com/s/lato/v14/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format(\'woff2\');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: \'Lato\';
font-style: normal;
font-weight: 400;
src: local(\'Lato Regular\'), local(\'Lato-Regular\'), url(https://fonts.gstatic.com/s/lato/v14/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format(\'woff2\');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: \'Lato\';
font-style: normal;
font-weight: 700;
src: local(\'Lato Bold\'), local(\'Lato-Bold\'), url(https://fonts.gstatic.com/s/lato/v14/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format(\'woff2\');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: \'Lato\';
font-style: normal;
font-weight: 700;
src: local(\'Lato Bold\'), local(\'Lato-Bold\'), url(https://fonts.gstatic.com/s/lato/v14/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format(\'woff2\');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 400;
src: local(\'Nunito Sans Regular\'), local(\'NunitoSans-Regular\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe0qMImSLYBIv1o4X1M8cceyI9tAcVwob5A.woff2) format(\'woff2\');
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 400;
src: local(\'Nunito Sans Regular\'), local(\'NunitoSans-Regular\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe0qMImSLYBIv1o4X1M8ccezI9tAcVwob5A.woff2) format(\'woff2\');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 400;
src: local(\'Nunito Sans Regular\'), local(\'NunitoSans-Regular\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe0qMImSLYBIv1o4X1M8cce9I9tAcVwo.woff2) format(\'woff2\');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 600;
src: local(\'Nunito Sans SemiBold\'), local(\'NunitoSans-SemiBold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc9iB85iU1ECVZl_86Y.woff2) format(\'woff2\');
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 600;
src: local(\'Nunito Sans SemiBold\'), local(\'NunitoSans-SemiBold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc9iB85jU1ECVZl_86Y.woff2) format(\'woff2\');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 600;
src: local(\'Nunito Sans SemiBold\'), local(\'NunitoSans-SemiBold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc9iB85tU1ECVZl_.woff2) format(\'woff2\');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 700;
src: local(\'Nunito Sans Bold\'), local(\'NunitoSans-Bold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc8GBs5iU1ECVZl_86Y.woff2) format(\'woff2\');
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 700;
src: local(\'Nunito Sans Bold\'), local(\'NunitoSans-Bold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc8GBs5jU1ECVZl_86Y.woff2) format(\'woff2\');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: \'Nunito Sans\';
font-style: normal;
font-weight: 700;
src: local(\'Nunito Sans Bold\'), local(\'NunitoSans-Bold\'), url(https://fonts.gstatic.com/s/nunitosans/v3/pe03MImSLYBIv1o4X1M8cc8GBs5tU1ECVZl_.woff2) format(\'woff2\');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}';
preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0);
foreach($matches as $font_variant => $match){
echo($match['url']).PHP_EOL;
}
// Print the entire match result
var_export($matches);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 8.3.6 0.010 0.010 18.43 8.3.5 0.003 0.010 18.41 8.3.4 0.007 0.007 18.70 8.3.3 0.010 0.006 18.93 8.3.2 0.003 0.005 21.87 8.3.1 0.006 0.003 21.95 8.3.0 0.009 0.000 18.05 8.2.18 0.019 0.003 18.39 8.2.17 0.009 0.006 22.96 8.2.16 0.011 0.003 22.30 8.2.15 0.008 0.000 24.18 8.2.14 0.000 0.008 24.66 8.2.13 0.008 0.000 21.07 8.2.12 0.004 0.004 26.35 8.2.11 0.010 0.013 21.13 8.2.10 0.003 0.009 18.04 8.2.9 0.010 0.000 19.29 8.2.8 0.006 0.003 19.73 8.2.7 0.004 0.004 17.88 8.2.6 0.000 0.008 17.93 8.2.5 0.000 0.009 18.07 8.2.4 0.003 0.005 18.35 8.2.3 0.004 0.004 18.08 8.2.2 0.008 0.000 18.29 8.2.1 0.004 0.004 18.18 8.2.0 0.000 0.007 18.16 8.1.28 0.012 0.006 25.92 8.1.27 0.004 0.004 23.84 8.1.26 0.004 0.004 26.35 8.1.25 0.007 0.003 28.09 8.1.24 0.004 0.004 22.46 8.1.23 0.004 0.007 20.97 8.1.22 0.005 0.003 17.91 8.1.21 0.006 0.003 19.10 8.1.20 0.003 0.007 17.47 8.1.19 0.000 0.008 17.47 8.1.18 0.004 0.004 18.10 8.1.17 0.003 0.006 18.73 8.1.16 0.009 0.000 18.87 8.1.15 0.004 0.004 19.07 8.1.14 0.008 0.000 17.75 8.1.13 0.003 0.003 19.11 8.1.12 0.003 0.005 17.69 8.1.11 0.000 0.008 17.64 8.1.10 0.007 0.000 17.61 8.1.9 0.000 0.007 17.63 8.1.8 0.004 0.004 17.63 8.1.7 0.004 0.004 17.67 8.1.6 0.009 0.000 17.79 8.1.5 0.003 0.005 17.70 8.1.4 0.008 0.000 17.64 8.1.3 0.006 0.003 17.73 8.1.2 0.000 0.007 17.85 8.1.1 0.000 0.009 17.81 8.1.0 0.003 0.006 17.76 8.0.30 0.000 0.007 20.21 8.0.29 0.005 0.002 17.00 8.0.28 0.000 0.008 18.45 8.0.27 0.005 0.003 17.36 8.0.26 0.004 0.004 17.23 8.0.25 0.000 0.007 17.04 8.0.24 0.003 0.005 17.04 8.0.23 0.004 0.004 17.05 8.0.22 0.005 0.002 17.12 8.0.21 0.007 0.000 17.03 8.0.20 0.000 0.007 17.05 8.0.19 0.007 0.003 17.08 8.0.18 0.006 0.003 17.06 8.0.17 0.006 0.003 17.04 8.0.16 0.000 0.007 17.11 8.0.15 0.004 0.004 17.07 8.0.14 0.000 0.008 17.02 8.0.13 0.004 0.004 13.52 8.0.12 0.006 0.003 17.07 8.0.11 0.004 0.004 17.02 8.0.10 0.004 0.004 17.09 8.0.9 0.003 0.006 16.96 8.0.8 0.006 0.009 17.02 8.0.7 0.000 0.007 17.14 8.0.6 0.004 0.004 16.94 8.0.5 0.007 0.000 17.06 8.0.3 0.012 0.008 17.29 8.0.2 0.015 0.015 17.40 8.0.1 0.004 0.004 17.21 8.0.0 0.012 0.008 16.79 7.4.33 0.002 0.002 15.55 7.4.32 0.000 0.006 16.68 7.4.30 0.000 0.007 16.86 7.4.29 0.004 0.004 16.72 7.4.28 0.000 0.008 16.73 7.4.27 0.003 0.003 16.88 7.4.26 0.005 0.002 16.72 7.4.25 0.004 0.004 16.66 7.4.24 0.003 0.006 16.86 7.4.23 0.000 0.007 16.95 7.4.22 0.000 0.008 16.80 7.4.21 0.001 0.013 16.79 7.4.20 0.000 0.007 16.87 7.4.16 0.004 0.015 16.70 7.4.14 0.010 0.009 17.86 7.4.13 0.007 0.011 17.05 7.4.12 0.014 0.006 16.70 7.3.33 0.002 0.002 13.20 7.3.32 0.000 0.006 13.36 7.3.31 0.004 0.004 16.41 7.3.30 0.004 0.004 16.50 7.3.29 0.007 0.000 16.48 7.3.28 0.007 0.010 16.50 7.3.26 0.008 0.010 16.64 7.3.24 0.006 0.011 16.69 7.2.4 0.076 0.017 18.39
preferences:dark mode live preview
63.42 ms | 401 KiB | 5 Q