Olivier, 'occurence=n' can be used to find the nth occurence of a header. Since I want *all* Via headers, will 'occurence=*' work ?
Thanks, -- R.T. Ta Boulkroune, Olivier (Non-HP:Atos Origin) wrote: > Hello Trinh, > > You may use the 'occurrence' attribute. > > Regards, > Olivier Boulkroune > > -----Message d'origine----- > De�: Trinh Ta [mailto:[EMAIL PROTECTED] > Envoy�: lundi 23 juillet 2007 16:30 > �: Boulkroune, Olivier (Non-HP:Atos Origin); [email protected] > Cc�: daisy > Objet�: Re: [Sipp-users] about [last_*] > > I think a regexp like the following: > > <ereg regexp=".*" search_in="hdr" header="Via: " assign_to="1"/> > > will save the FIRST Via header, not *all* Via headers. > > I have the same question as the OP. How do I save *all* Via headers into > a variable ? > > Thanks, > -- > R.T. Ta > > > Boulkroune, Olivier (Non-HP:Atos Origin) wrote: >> Hello Daisy, >> >> >> >> You may use the regexp on the last received message. See >> http://sipp.sourceforge.net/doc/reference.html#Regular+expressions for >> more details. >> >> >> >> Regards, >> >> >> >> Olivier Boulkroune >> >> >> >> ------------------------------------------------------------------------ >> >> *De :* [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] *De la part de* daisy >> *Envoy� :* lundi 23 juillet 2007 04:05 >> *� :* [email protected] >> *Objet :* [Sipp-users] about [last_*] >> >> >> >> Iwant to store the content of [last_*] into a variable. >> (ex: store [last_Via:] into $via) >> How to describe this action this in XML file. >> >> Thanks a lot! >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Sipp-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sipp-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
