-2
我在弄清楚如何使用这个Glob Online Tester来匹配两个或多个文件。使用Glob匹配两个或多个文件
什么是表达式匹配styles/main.css和index.html文件?
images/icons/home.svg
images/icons/phone.svg
images/promo.gif
images/logo.png
styles/main.css
index.html
我在弄清楚如何使用这个Glob Online Tester来匹配两个或多个文件。使用Glob匹配两个或多个文件
什么是表达式匹配styles/main.css和index.html文件?
images/icons/home.svg
images/icons/phone.svg
images/promo.gif
images/logo.png
styles/main.css
index.html
这只是
styles/main.css
index.html
正如在这里看到:
另外,您可以read the documentation:
{}
允许用逗号分隔的 “或” 表达
列表...并使用此:
{styles/main.css,index.html}
这是两种不同的表现。每行都被评估为一个表达式。我需要看起来像'?(styles/main.css | index.html)' –
Yay,它的工作原理!谢谢你,先生! –