From 7c84e81a1370f4860d51fbdd3beefcbf858f7994 Mon Sep 17 00:00:00 2001 From: djfiander Date: Tue, 6 Jun 2006 01:21:35 +0000 Subject: [PATCH] text fields in the response messages may be empty --- t/SIPtest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/SIPtest.pm b/t/SIPtest.pm index de7e040..41bde25 100644 --- a/t/SIPtest.pm +++ b/t/SIPtest.pm @@ -26,8 +26,8 @@ use Sip::Constants qw(:all); # match timestamp fields (duh). our $datepat = '\d{8} {4}\d{6}'; -# Pattern for a random text field -our $textpat = qr/^[^|]+$/; +# Pattern for a random text field (may be empty) +our $textpat = qr/^[^|]*$/; our %field_specs = ( (FID_SCREEN_MSG) => { field => FID_SCREEN_MSG, -- 2.11.0