Debian Codegraph @

testsuite/buildok/fortyseven.stp

raw
1 #! stap -p4
2
3 // regex support
4 probe begin {
5 if ("flibilibilibibirty" =~ "(fl|sni)[r]ili(pi|bi)") {
6 printf ("%s %s %s", matched(0), matched(1), matched(2))
7 } else {
8 printf("match fail\n")
9 }
10 exit()
11 }