in reply to split string at variable position with matching
Caveat: any regex solution that uses look-behind will not work if the width of the look-behind is more than 255 characters -- at least not for Perls 5.34.0 and earlier.