freeside/FS/FS cust_bill.pm,1.126,1.127

Ivan Kohler ivan at pouncequick.420.am
Wed Jun 8 23:22:26 PDT 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv29306

Modified Files:
	cust_bill.pm 
Log Message:
more sane regex

Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- cust_bill.pm	9 Jun 2005 06:16:00 -0000	1.126
+++ cust_bill.pm	9 Jun 2005 06:22:24 -0000	1.127
@@ -1017,9 +1017,9 @@
       '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|\$)",
                      },
     },




More information about the freeside-commits mailing list