procmail
[Top] [All Lists]

Re: questions about anchoring

2005-06-29 10:01:47
Dallman Ross wrote:
On Wed, Jun 29, 2005 at 10:38:47AM -0500, Mr Duck wrote:
 So, what's the difference between two carets (^^) and one (^)?
 :0
 * AID ?? ^^.*\<\/is
 { IS = $MATCH }
We'll only match "is" if it's on the first line of the
multilne expression.

  Ah! Ok.  ^ at any newline, ^^ at expression start (or end).  I come
from a PRE background, so the ^^ was foreign to me.  Muchas gracias!

  [1] I added the attribution back in.  Please don't forget
  to attribute quoted text!

  Sorry, not used to mailing lists. (=  I'll remember this from this
point onward.



____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>