Help for this page

Select Code to Download


  1. or download this
      
      print $str."\n<br />";
      if ( ($str =~ /\\r/) or ($str =~ /\\n/) or ($str =~ /\\f/) or ($str 
    +=~ /\\t/) ) { ##0
    ...
      if ($str =~ /\r|\n|\t|\f/) { print "matches on single backslash\n<br
    + />";} ##3
      if ( ($str =~ /\\n/) ) { print "matches \\\\n (with double backslash
    +)\n<br />";} ##4
      if ($str =~/\s/) { print "matches on \\s  \n<br />";}##5
    
  2. or download this
    rrrrrrrrrr
    matches in character class
    
  3. or download this
    rrrrrrrr\nrr
    found ws using multiple regexps and or with double backslashes
    matches on ws using simple '|' list with double backslashes
    matches in character class
    matches \\n (with double backslash)
    
  4. or download this
    rrrrrrrr\rr
    found ws using multiple regexps and or with double backslashes
    matches on ws using simple '|' list with double backslashes
    matches in character class