79129056

Date: 2024-10-26 17:08:41
Score: 0.5
Natty:
Report link

Easy.

while(<>) {
    $_ =~ s/([^ ])=/$1 =/;
    $_ =~ s/=([^ ])/= $1/;
    print;
}

The [^ ]=, which means "not space followed by equal sign". But since [^ ] will by itself eats a symbol - you will need to "preserve it" by using parenthesis, and reuse that symbol by using $1.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: White Owl