File: Find.php
Source Location: /File_Find-1.3.3/File/Find.php
Classes:
File_Find
Commonly needed functions searching directory trees
Page Details:
Includes:
FILE_FIND_VERSION [line 24]
File_Find_match_shell [line 364]
mixed File_Find_match_shell(
$pattern, $filename)
|
|
Package method to match via 'shell' pattern. Provided in global scope, because it should be called like 'preg_match' and 'eregi' and can be easily copied into other packages
Parameters
_File_Find_match_shell_get_pattern [line 418]
string _File_Find_match_shell_get_pattern(
$mask)
|
|
function used by File_Find_match_shell to convert 'shell' mask into pcre regexp. Some of the rules (see testcases for more): escaping all special chars and replacing . with \. * with .* ? with .{1} also adding ^ and $ as the pattern matches whole filename
Parameters
Documentation generated on Mon, 11 Mar 2019 15:56:37 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|