A simple regex may be sufficient

Instead of trying to make a precise regex, let us make a very simple one:
arg = '.+'   # any text
"Any text" may be precise enough since we have the surrounding structure,
superLibFunc\s*(\s*arg\s*,\s*arg\s*)
and assume that a C compiler has checked that arg is a valid C code text in this context

previousnexttable of contents