specRegex is a high performance CPU and GPU-accelerated, guaranteed linear time regular expression library that supports most extended regular expression features, including capture groups.
Regexes are ahead-of-time compiled to branchless sequences of arithmetic operations, allowing non-divergent and high throughput parallel execution on GPUs.
specRegex is built using libSCALE and speclib extensively. You probably want to at least familiarise yourself with the C++ language extensions documentation before diving into the specRegex reference manual.