in reply to Re: is there an easy way to dumb down this regular expression for me?
in thread is there an easy way to dumb down this regular expression for me?

thanks! but i have to ask a few more questions yours is infintely more easy to read.. but now i'm trying to figure out what you did using http://www.perlmonks.net/?node=perlop what does the x behind all of your qr{ ... }x mean?
  • Comment on Re^2: is there an easy way to dumb down this regular expression for me?

Replies are listed 'Best First'.
Re^3: is there an easy way to dumb down this regular expression for me?
by davidrw (Prior) on Oct 19, 2005 at 21:35 UTC
    Look at perlre as well for the /x modifier:
    x Extend your pattern's legibility by permitting whitespace and comments.
    It was used so that everything could be spaced out for clarity -- that's also why al the \s* are in there because when using /x you have to explicitly say when you actually want to match whitespace.