in reply to substring too short and I don't care
substr($_,279) =~ s/$regex/$substitute{$1}/g; [download]
substr($_,279) =~ s/$regex/$substitute{$1}/g unless length < 279; [download]
{ no warnings; substr($_,279) =~ s/$regex/$substitute{$1}/g; } [download]