Help for this page

Select Code to Download


  1. or download this
        my $c = qr/(?>--[^\n]*(?:\n|\z))/; # VHDL comment regex
    
  2. or download this
        # position 01234567 89
        my $str = "a --b x\n x";
    
  3. or download this
        $str =~ m/$c* x/;
    
  4. or download this
        $str =~ m/$c*x/;