Help for this page

Select Code to Download


  1. or download this
    /my background error (\d+):(?!.+my3\.exe)/
    
  2. or download this
    $ perl -Mstrict -Mwarnings -E 'while (<>) { if (/my background error (
    +\d+):(?!.+my3\.exe)/ ) { say $1 } }'
    blah blah my background error 1234: blah blah
    ...
    blah blah my background error 1234:my3.exe
    1234
    ^C
    
  3. or download this
    /my background error (\d+): ((?!.*my3\.exe).+)/
    
  4. or download this
    $ perl -Mstrict -Mwarnings -E 'while (<>) { if (/my background error (
    +\d+): ((?!.*my3\.exe).+)/ ) { say qq{$1 = \"$2\"} } else { say q{NO M
    +ATCH} } }'
    blah blah my background error 1234: blah blah
    ...
    blah blah my background error 1234: my4.exe
    1234 = "my4.exe"
    ^C