Say I have a regex matching a hexadecimal 32 bit number:
([0-9a-fA-F]{1,8})
When I construct a regex where I need to match this multiple ti
To reuse regex named capture group use this syntax: \k or \k'name'
So the answer is:
(?[0-9a-fA-F]{1,8})\s*:\s*\k
More info: http://www.regular-expressions.info/named.html