So I\'ve slightly modified the example on the pcre2 page:
^(?*.*(?[*]((?\\bconst\\b|\\brestrict\\b|\\bvolatile\\b))*+(?C11))