Author: mcbrown
Date: 2006-09-06 17:19:10 +0200 (Wed, 06 Sep 2006)
New Revision: 3261
Log:
Added wildcard searching
Modified:
trunk/tools/idfind.pl
Modified: trunk/tools/idfind.pl
===================================================================
--- trunk/tools/idfind.pl 2006-09-06 14:35:20 UTC (rev 3260)
+++ trunk/tools/idfind.pl 2006-09-06 15:19:10 UTC (rev 3261)
Changed blocks: 1, Lines Added: 9, Lines Deleted: 0; 477 bytes
@@ -51,6 +51,15 @@
foreach my $id (@ARGV)
{
+ if ($id =~ m/[a-z-]\*/)
+ {
+ $id =~ s/([a-z-])\*/$1.*/g;
+ }
+ if ($id =~ m/^\*/)
+ {
+ $id =~ s/^\*/.*/g;
+ }
+
my @matches = grep /$id/,keys %{$idmap};
if (scalar @matches == 0)
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r3261 - trunk/tools | mcbrown | 6 Sep |