blob: c7466675307e408bc4c785f4da1667be1aba82f2 (
plain)
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
|
"\"include\" dump\n" "([^\\n]*)\\n(.*)" regex
dump dump dump
"the quick brown fox jumps over the lazy dog"
{ "(the)(.*)" regex } { dump } loop
"abcdefghijklmnopqrstuvwxyz"
{ "([d-h][d-h])(.*)" regex } { dump } loop
"abcdefghijklmnopqrstuvwxyz"
{ "^(...)(.*)" regex } { dump } loop
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"(...)$" regex { dump } rep
" code"
{ _ "^ (.*)" regex } { -01 -- } loop dump
"# comment"
"^#" regex dump
"1234 remaining"
"^(\\d+) +(.*)" regex dump dump dump
"\"stringcontent..."
"^\"(.*)" regex dump dump
"\\\\remaining"
"^\\\\\\\\(.*)" regex dump dump
"\\nremaining"
"^\\\\n(.*)" regex dump dump
"\\0foo"
"^\\\\0(.*)" regex dump dump
"\\0"
"^\\\\0(.*)" regex dump dump
"\\\"remaining"
"^\\\\\"(.*)" regex dump dump
"abcdef"
{ "([^c])(.*)" regex } { dump } loop
"...stringcontent\""
{ "^([^\"\\\\])(.*)" regex } { dump } loop
"/quoted123 remaining"
"^([^a-zA-Z0-9 ]+)([a-zA-Z0-9][^ ]*) +(.*)" regex dump dump dump
"unquoted remaining"
"^([a-zA-Z0-9]+|[^a-zA-Z0-9 ]+) +(.*)" regex dump dump dump
"+++ remaining"
"^([a-zA-Z0-9]+|[^a-zA-Z0-9 ]+) +(.*)" regex dump dump dump
|