Help for this page

Select Code to Download


  1. or download this
    while ($foo =~ s/(\([^)]*)\n(.*?\))/\1\2/gs) {}
    
  2. or download this
    1 while $foo =~ s/(\([^)]*)\n(.*?\))/$1$2/gs;
    
  3. or download this
    $foo =~ s{ \( ( [^()]* ) \) }{ ( my $x = $1 ) =~ tr/\n//d; $x }gex;