FQDN: Suppose if have extract "sonusnet.com" from msg. then
<ereg regexp="[a-z]{1,8}[.][a-z]{1,3}$"
search_in="msg"
check_it="true"
assign_to="FQDN"/>
I this this will also work.
Date: Sun, 6 Jul 2014 20:14:28 +1200
From: [email protected]
To: [email protected]
Subject: [Sipp-users] Regex fqdn or IP address
Hi,I am looking to test the URI hostpart of URI and devised a regular
expression using online testers that work ok but do not work fine for SIPp, I
appreciate any assistance to put me right.
The regex I am using looks like
this:regexp="@(example.com)|(\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b)"
The test data for the fqdn is working no problem (exact match), but if an IP
address is provided say 192.168.0.65 there is no match. I am well aware the
regex is loose allowing matches on 999.999.999.999 for example, and I am OK
with that.
Thanks
Paul
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users