test/command/suite/select/function/snippet/delimiter_regexp/overlap.expected
raw| 1 | table_create Entries TABLE_NO_KEY |
| 2 | [[0,0.0,0.0],true] |
| 3 | column_create Entries content COLUMN_SCALAR ShortText |
| 4 | [[0,0.0,0.0],true] |
| 5 | load --table Entries |
| 6 | [ |
| 7 | {"content": "aaa. bbb ccc AAA. BBB CCC xxx yyy. zzz."} |
| 8 | ] |
| 9 | [[0,0.0,0.0],1] |
| 10 | select Entries --output_columns ' snippet(content, "ccc", "[", "]", {"width": 40, "delimiter_regexp": "\\\\."})' |
| 11 | [ |
| 12 | [ |
| 13 | 0, |
| 14 | 0.0, |
| 15 | 0.0 |
| 16 | ], |
| 17 | [ |
| 18 | [ |
| 19 | [ |
| 20 | 1 |
| 21 | ], |
| 22 | [ |
| 23 | [ |
| 24 | "snippet", |
| 25 | null |
| 26 | ] |
| 27 | ], |
| 28 | [ |
| 29 | [ |
| 30 | " bbb [ccc] AAA", |
| 31 | " BBB [CCC] xxx yyy" |
| 32 | ] |
| 33 | ] |
| 34 | ] |
| 35 | ] |
| 36 | ] |