Help for this page

Select Code to Download


  1. or download this
    $user_string = "[SYN, ACK]";
    if ($x =~ /\Q$user_string\E/) {
    ...
    } else {
       print("no match\n");
    }
    
  2. or download this
    $user_string = "[SYN, ACK]";
    if ($x =~ /(\[.*?\])/) {
    ...
    } else {
       print("not even close\n");
    }