Tried this with both the standard regex library as well as the PCRE library in ANSI C under Linux:
Need to catch the content between brackets, multiple times in the s