【文件属性】:
文件名称:php-wildcards:PHP 中的简单通配符
文件大小:3KB
文件格式:ZIP
更新时间:2021-07-05 17:22:44
PHP
通配符
PHP 中的简单通配符。
安装
composer require ddliu/wildcards
用法
use ddliu\wildcards\ Wildcards ;
$ wildcards = new Wildcards ( 'http://google.com/search/*' );
var_dump ( $ wildcards -> match ( 'http://google.com/search/php' )); // true
【文件预览】:
php-wildcards-master
----.gitignore(9B)
----README.md(385B)
----phpunit.xml(135B)
----LICENSE(1KB)
----composer.json(326B)
----src()
--------Wildcards.php(693B)
----test.php(906B)
----.travis.yml(43B)