From 0fae7e51cc148a1cb589923f78afc3f5eb1e17c3 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 9 Jun 2005 06:22:24 +0000 Subject: [PATCH] more sane regex --- FS/FS/cust_bill.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 0171f451b..2a7d50637 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -1017,9 +1017,9 @@ sub _agent_plandata { 'plan' => 'send_agent', 'plandata' => { 'op' => '~', 'value' => "(^|\n)agentnum ". - '\[?[0-9 ,]*'. - '[ ,]'. $self->cust_main->agentnum. '[ ,]'. - '[0-9 ,]*\]?'. + '([0-9]*, )*'. + $self->cust_main->agentnum. + '(, [0-9]*)*'. "(\n|\$)", }, }, -- 2.11.0