This file is indexed.

/usr/include/libwaei/regex.h is in libwaei-dev 3.2.0b1-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
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef LW_REGEX_INCLUDED
#define LW_REGEX_INCLUDED

#define LW_RE_COMPILE_FLAGS (G_REGEX_CASELESS | G_REGEX_OPTIMIZE)
#define LW_RE_LOCATE_FLAGS  (0)
#define LW_RE_EXIST_FLAGS   (0)

#include <glib.h>
#include <libwaei/dict.h>
#include <libwaei/utilities.h>

typedef enum
{
  LW_RELEVANCE_HIGH,
  LW_RELEVANCE_MEDIUM,
  LW_RELEVANCE_LOW,
  LW_RELEVANCE_LOCATE,
  LW_RELEVANCE_TOTAL
} LwRelevance;


void lw_regex_initialize (void);
void lw_regex_free (void);

GRegex* lw_regex_kanji_new (const char*, LwDictType, LwRelevance, GError**);
GRegex* lw_regex_furi_new (const char*, LwDictType, LwRelevance, GError**);
GRegex* lw_regex_romaji_new (const char*, LwDictType, LwRelevance, GError**);
GRegex* lw_regex_mix_new (const char*, LwDictType, LwRelevance, GError**);
GRegex* lw_regex_new (const char*, LwDictType, LwRelevance, GError**);


typedef enum {
  LW_RE_NUMBER,
  LW_RE_STROKES,
  LW_RE_GRADE,
  LW_RE_FREQUENCY,
  LW_RE_JLPT,
/*
  LW_RE_WORD_I_ADJ_PASTFORM,
  LW_RE_WORD_I_ADJ_NEGATIVE,
  LW_RE_WORD_I_ADJ_TE_FORM,
  LW_RE_WORD_I_ADJ_CAUSATIVE,
  LW_RE_WORD_I_ADJ_CONDITIONAL,
  LW_RE_WORD_NA_ADJ_PASTFORM,
  LW_RE_WORD_NA_ADJ_NEGATIVE,
  LW_RE_WORD_NA_ADJ_TE_FORM,
  LW_RE_WORD_NA_ADJ_CAUSATIVE,
  LW_RE_WORD_NA_ADJ_CONDITIONAL,
*/
  LW_RE_TOTAL
} LwRegexDataIndex;

extern GRegex *lw_re[LW_RE_TOTAL + 1];

#endif