On Jul 17, 2007, at 19:28, Kevin Ballard wrote:

On Jul 17, 2007, at 1:12 PM, Ryan Schmidt wrote:

Could our recent livecheck regex issues (where regexes that we thought worked before suddenly are requiring additional escaping) be due to r26041?

http://trac.macosforge.org/projects/macports/changeset/26041

The log message reads "Fix livecheck to properly de-escape livecheck.url" and the revision does indeed do that. But it also changes the processing of livecheck.regex without explaining why.

Apparently, yes. I thought the amount of backslash escaping would be the same, but what I didn't realize was that the join command does a level of backslash interpretation. I changed it because we should avoid using even where we don't need it. Also since livecheck.regex really is a list using join is better than concat.

I'll bet that's iPhone's incredible word substitution there. "Did you mean 'even'?" "No, blast it, I typed 'eval' and I meant 'eval.'"


Anyway, the solution is to add the -nobackslashes switch to subst. This should restore handling of escapes to the former behavior. Please go ahead and do it for me since I'm at work and don't have a MacPorts checkout handy.

Sent from my iPhone

Tested -- it works! Committed:

http://trac.macosforge.org/projects/macports/changeset/27079
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to