Re: Can't debug without source code.
"John E. Davis" <[email protected]> Sun, 10 Oct 2010 22:25:30 -0400
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 4 Oct 2010 09:28:15 -0700, Brian Murray <[email protected]> said: [...] >Debugging this further the issue occurs with subjects that have 2 sets >of ([0-9]+/[0-9]+) in them. Consider the following subjects: > >Austro.Pop.Show-2006-Zehn.(10/52) 'Austro.Pop.Show-2006-Zehn - 105 - >Rainhard Fendrich - Schickeria.mp3' yEnc (22/23) >Austro.Pop.Show-2006-Zehn.(10/52) 'Austro.Pop.Show-2006-Zehn - 105 - > >Because I am matching on the 10/52 section and stripping that out the >rest of the section won't match. What I really want is to be able to >pass string_match a -1 so the string is scanned from the end not the >front. In that case, try the following pattern: bracket_pattern = "[[(][0-9]+ ?[o/]f? ?\([0-9]+\)[])][^[(]*$"R; Thanks, --John ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb