This file is indexed.

/usr/share/php/texy/src/Texy/TexyPatterns.php is in php-texy 2.6-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
42
<?php

/**
 * This file is part of the Texy! (http://texy.info)
 * Copyright (c) 2004 David Grudl (http://davidgrudl.com)
 */


/**
 * Regular expression patterns
 */
class TexyPatterns
{
	// Unicode character classes
	const CHAR = 'A-Za-z\x{C0}-\x{2FF}\x{370}-\x{1EFF}';

	// marking meta-characters
	// any mark:              \x14-\x1F
	// CONTENT_MARKUP mark:   \x17-\x1F
	// CONTENT_REPLACED mark: \x16-\x1F
	// CONTENT_TEXTUAL mark:  \x15-\x1F
	// CONTENT_BLOCK mark:    \x14-\x1F
	const MARK =        '\x14-\x1F';


	// modifier .(title)[class]{style}
	const MODIFIER =    '(?: *+(?<= |^)\\.((?:\\([^)\\n]++\\)|\\[[^\\]\\n]++\\]|\\{[^}\\n]++\\}){1,3}?))';

	// modifier .(title)[class]{style}<>
	const MODIFIER_H =  '(?: *+(?<= |^)\\.((?:\\([^)\\n]++\\)|\\[[^\\]\\n]++\\]|\\{[^}\\n]++\\}|<>|>|=|<){1,4}?))';

	// modifier .(title)[class]{style}<>^
	const MODIFIER_HV = '(?: *+(?<= |^)\\.((?:\\([^)\\n]++\\)|\\[[^\\]\\n]++\\]|\\{[^}\\n]++\\}|<>|>|=|<|\\^|\\-|\\_){1,5}?))';


	// images   [* urls .(title)[class]{style} >]   '\[\* *+([^\n'.MARK.']{1,1000})'.MODIFIER.'? *+(\*|(?<!<)>|<)\]'
	const IMAGE =       '\[\* *+([^\n\x14-\x1F]{1,1000})(?: *+(?<= |^)\\.((?:\\([^)\\n]++\\)|\\[[^\\]\\n]++\\]|\\{[^}\\n]++\\}){1,3}?))? *+(\*|(?<!<)>|<)\]';

	// links, url - doesn't end by :).,!?
	const LINK_URL =    '(?:\[[^\]\n]++\]|(?=[\w/?\#.])[^\s\x14-\x1F]{0,1000}?[^:);,.!?\s\x14-\x1F])'; // any url - doesn't end by :).,!?

}