Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: regex logical equivalence?

by jarich (Curate)
on Feb 05, 2004 at 06:14 UTC ( [id://326708] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /.*                      # Stuff
     (                        # START capturing to $1 
    ...
     )                        # END of $1
     \s?                      # 0 or 1 spaces
    /x
    
  2. or download this
    /.*                      # Stuff
     (                        # START capturing to $1 
    ...
     )                        # END of $1
    \s?                      # 0 or 1 spaces
    /x
    
  3. or download this
    /.*                      # Stuff
     (                        # START capturing to $1 
    ...
     )                        # END of $1
    \s?                      # 0 or 1 spaces
    /x
    
  4. or download this
    /.*                      # Stuff
     (                        # START capturing to $1 
    ...
     )                        # END of $1
    \s?                      # 0 or 1 spaces
    /x