2017 © Pedro Peláez
 

library ant-path-matcher

Ant Path Matcher Utility

image

dflydev/ant-path-matcher

Ant Path Matcher Utility

  • Monday, December 3, 2012
  • by simensen
  • Repository
  • 1 Watchers
  • 4 Stars
  • 41,171 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

Ant Path Matcher Utility

An Ant path pattern matcher for PHP. Implementation kindly borrowed from Spring., (*1)

Requirements

  • PHP 5.3+

Usage

<?php
use dflydev\util\antPathMatcher\AntPathMatcher;
$antPathMatcher = new AntPathMatcher();
if ($antPathMatcher->match('foo/**/baz/*.txt', 'foo/bar/baz/hello-world.txt')) {
  echo "This is true!\n";
}

License

This library is licensed under the New BSD License - see the LICENSE file for details., (*2)

Community

If you have questions or want to help out, join us in the #dflydev channel on irc.freenode.net., (*3)

Not Invented Here

There are other PHP ports of Ant-like pattern matching but most were either found to be incomplete, tied to actually walking a disk, or so heavily embedded into another larger project it was not feasible to use., (*4)

This implementation is purely string based and is based on the AntPathMatcher found in Spring., (*5)

The Versions

03/12 2012

dev-master

9999999-dev http://github.com/dflydev/dflydev-util-antPathMatcher

Ant Path Matcher Utility

  Sources   Download

MIT

The Requires

  • php >=5.3

 

pattern path ant matcher

03/12 2012

v1.0.3

1.0.3.0 http://github.com/dflydev/dflydev-util-antPathMatcher

Ant Path Matcher Utility

  Sources   Download

MIT

The Requires

  • php >=5.3

 

pattern path ant matcher

15/07 2012

v1.0.2

1.0.2.0 http://github.com/dflydev/dflydev-util-antPathMatcher

Ant Path Matcher Utility

  Sources   Download

MIT

The Requires

  • php >=5.3

 

pattern path ant matcher

20/01 2012

v1.0.1

1.0.1.0 http://github.com/dflydev/dflydev-util-antPathMatcher

Ant Path Matcher Utility

  Sources   Download

New BSD License

The Requires

  • php >=5.3

 

pattern path ant matcher

04/01 2012

v1.0.0

1.0.0.0 http://github.com/dflydev/dflydev-util-antPathMatcher

Ant Path Matcher Utility

  Sources   Download

New BSD License

The Requires

  • php >=5.3

 

pattern path ant matcher