From: ivan Date: Thu, 9 Jun 2005 06:22:24 +0000 (+0000) Subject: more sane regex X-Git-Tag: BEFORE_FINAL_MASONIZE~478 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0fae7e51cc148a1cb589923f78afc3f5eb1e17c3 more sane regex --- 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|\$)", }, },