summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b13a251)
just check if it is "*" and return 1 if so.
# Some shared sub routines
#
# Author: Patrick Canterino <patrick@patshaping.de>
# Some shared sub routines
#
# Author: Patrick Canterino <patrick@patshaping.de>
-# Last modified: 2005-11-10
+# Last modified: 2008-04-25
{
my ($pattern,$string) = @_;
{
my ($pattern,$string) = @_;
+ return 1 if($pattern eq '*');
+
# The following part is stolen from File::DosGlob
# escape regex metachars but not glob chars
# The following part is stolen from File::DosGlob
# escape regex metachars but not glob chars