Debian Codegraph @

test/command/suite/select/function/highlight_html/regexp.expected

raw
1 table_create Entries TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Entries body COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Terms TABLE_PAT_KEY ShortText --default_tokenizer TokenRegexp --normalizer NormalizerAuto
6 [[0,0.0,0.0],true]
7 column_create Terms document_index COLUMN_INDEX|WITH_POSITION Entries body
8 [[0,0.0,0.0],true]
9 load --table Entries
10 [
11 {"body": "Mroonga is a MySQL storage engine based on Groonga. <b>Rroonga</b> is a Ruby binding of Groonga."}
12 ]
13 [[0,0.0,0.0],1]
14 select Entries --filter "body @~ '(?-mix:ro.*ga)'" --output_columns "highlight_html(body)"
15 [
16 [
17 0,
18 0.0,
19 0.0
20 ],
21 [
22 [
23 [
24 1
25 ],
26 [
27 [
28 "highlight_html",
29 null
30 ]
31 ],
32 [
33 "M<span class=\"keyword\">ro</span>on<span class=\"keyword\">ga</span> is a MySQL storage engine based on G<span class=\"keyword\">ro</span>on<span class=\"keyword\">ga</span>. &lt;b&gt;R<span class=\"keyword\">ro</span>on<span class=\"keyword\">ga</span>&lt;/b&gt; is a Ruby binding of G<span class=\"keyword\">ro</span>on<span class=\"keyword\">ga</span>."
34 ]
35 ]
36 ]
37 ]