The stupid question is the question not asked | |
PerlMonks |
Re: questions of a perl beginner on regexby derby (Abbot) |
on Jun 20, 2006 at 12:24 UTC ( [id://556369]=note: print w/replies, xml ) | Need Help?? |
Others have answered your question. Basically you have three different types of question marks: ?:, \? and ? - non capturing matching, escaping, and zero or more matches. But looking at that regex, I wonder if it's all just overkill. It looks like your matching a flash url that may have paramaters. I wonder if this simpler regex will do the job as well: Comments? I know some people wish death to dot-star but what's the downside here?
-derby
In Section
Seekers of Perl Wisdom
|
|