This file is indexed.

/usr/share/doc/libparse-recdescent-perl/examples/demo_simplequery.pl is in libparse-recdescent-perl 1.967009+dfsg-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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/perl -ws

use Parse::RecDescent;
use Data::Dumper;

use Parse::RecDescent;

my $grammar = <<'EOGRAMMAR';

	{ my  %patterns; }

	query:	  { %patterns=() }
		  pattern(s) end_of_query
		  { $return = { %patterns } }
	     |    <error>

	end_of_query: /\Z/

	pattern: '+' string  { push @{$patterns{required}}, $item[2] }
	       | '-' string  { push @{$patterns{excluded}}, $item[2] }
	       | string      { push @{$patterns{optional}}, $item[1] }
	       | <error>

	string: quoted_string
	      | bareword

	quoted_string:
		 { my $string = extract_delimited($text,q{'"});
		   $return = substr($string,1,length($string)-2) if $string; }

	bareword: /\w+/

EOGRAMMAR

my $parser = Parse::RecDescent->new($grammar) or die;

while (<>)
{
	my $query = $parser->query($_);
	print Data::Dumper->Dump([$query],['query']);
}