[PATCH] Suppress "uninitialized value" warnings If an optional capturing group is missing in the input, $1 will be undef. In this case, $1 was then being used in the right-hand side of an s///, which then produced the warning. Fix this by instead having a required capturing group, optionally containing the appropriate thing.