C/C++ regex to capture a group repeatably? -


if simple (h\w+ ?)+ on string hey hello hi i'd capture 3 instances matches. know how in c# don't know how in library compatible c/c++.

what library supports , how do it? included c# code example

foreach (var s in regex.match("hey hello hi", @"(h\w+ ?)+").groups[1].captures) {     console.writeline(s); } 

result:

hey hello hi 


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

c# - Unity IoC Lifetime per HttpRequest for UserStore -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -