Found out that the previous Regex relied on a GNU sed extension. Replaced with a portable version that performs the same 'match one or more' operation.