Help for this page

Select Code to Download


  1. or download this
     2:57 >perl -wE "my $s = '}abc{def}'; say 'match' if $s =~ /}.*(?!{)}/
    +;"
    match
    
     2:59 >
    
  2. or download this
     2:59 >perl -wE "my $s = '}abc{def}'; say 'match' if $s =~ /}.*?(?!{)}
    +/;"
    match
    
     2:59 >
    
  3. or download this
     3:31 >perl -wE "my $s = '}abc{def}'; say 'match' if $s =~ /}[^{]*?}/;
    +"
    
    ...
    match
    
     3:31 >