Help for this page

Select Code to Download


  1. or download this
    # Find LOGIN tag.
            if ((($ln =~ ?<[     ]*LOGIN[     ]?) || 
    ...
                 ($pword) && ($uname)) {
    ...
    }
    
  2. or download this
    C:\>perl -e "/?/"
    Quantifier follows nothing in regex; marked by <-- HERE in m/? <-- HER
    +E / at -e line 1.
    
  3. or download this
    # perl -MO=Deparse -e '$ln=" < LOGIN > "; $ln =~ ?<[ ]*LOGIN[ ]?'
    $ln = ' < LOGIN > ';
    $ln =~ ?<[ ]*LOGIN[ ]?;
    -e syntax OK
    
  4. or download this
    C:\>perl -e "use YAPE::Regex::Explain; $REx = '?<[ ]*LOGIN[ ]?'; print
    + $exp = YAPE::Regex::Explain->new($REx)->explain"
    The regular expression:
    ...
    
    C:\>perl -e "use YAPE::Regex::Explain; $REx = qr/?<[ ]*LOGIN[ ]?/; pri
    +nt $exp = YAPE::Regex::Explain->new($REx)->explain"
    Quantifier follows nothing in regex; marked by <-- HERE in m/? <-- HER
    +E <[ ]*LOGIN[ ]?/ at -e line 1.