ddliu/wildcards

Simple wildcards

v0.1.0 2014-12-21 15:05 UTC

This package is auto-updated.

Last update: 2024-12-13 22:51:30 UTC


README

Simple wildcards in PHP.

Installation

composer require ddliu/wildcards

Usage

use ddliu\wildcards\Wildcards;

$wildcards = new Wildcards('http://google.com/search/*');
var_dump($wildcards->match('http://google.com/search/php')); // true