Using regular expressions, is it possible to match a number of characters corresponding to the length of a previously captured group ?
I would like to match the following :
SomeLengthyPattern :
some_stuff :
some_other_stuff :
My idea was capturing SomeLengthyPattern and then using its length as a base to match some_stuff and some_other_stuff.