Matthew Cline wrote:
> A lot of the URI rules would be more readable if characters other than "/" 
> were used as the regexp delimiter, since then there'd be no need to escapes 
> slashes.  Then
> 
>     /^https?:\/\/[^\/]*opt-?out/i
> 
> Would become
> 
>     m!https?://[^/]*opt-?out!i
> 
> or
> 
>     m{https?://[^/]*opt-?out}i
> 
> Also, this would make URI regexps within the Perl code itself more readable.  
> However, this would lead to different regexps having different start/end 
> characters, which would be bad from the point of view of consistency.

I'm going to do this as part of the updates to allow multiple matches, 
and more flexible rules. But right now I have a bigger fish to fry (a 
testing framework), and since it's not a functionality win or a bug fix 
win, this goes low down on my priorities list.

Matt.



_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to