Debian Codegraph @

test/rebrackloc.awk

raw
1 match($0, /([Nn]ew) Value +[\([]? *([[:upper:]]+)/, f) {
2 print "re1", NR, f[1], f[2]
3 }
4
5 match($0, /([][])/, f) {
6 print "re2", NR, f[1]
7 }
8
9 /[]]/ {
10 print "re3", NR, $0
11 }
12
13 /[\[]/ {
14 print "re4", NR, $0
15 }
16
17 /[[]/ {
18 print "re5", NR, $0
19 }
20
21 /[][]/ {
22 print "re6", NR, $0
23 }
24
25 /[\([][[:upper:]]*/ {
26 print "re7", NR, $0
27 }
28
29 /[\([]/ {
30 print "re8", NR, $0
31 }