/usr/share/doc/vile-common/perl/Glob2re.doc is in vile-common 9.8s-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | NAME
Glob2re - convert glob/wildcard to regular expression
SYNOPSIS
The module exports one function, glob2re:
use Glob2re;
my $re = glob2re($glob);
DESCRIPTION
The glob2re function converts a Unix-style file-globbing string to a
regular expression. It is used by the dirlist and hgrep commands.
Unix-style file-globbing uses "*" to match zero or more characters of
any type, and "?" to match any single character. Prefix "*" or "?" with
"\" if you want to use those literally, rather than as a metacharacter.
EXAMPLE
my $glob = "*.*";
my $re = glob2re($glob);
AUTHOR
Kevin Buettner
|