[Rt-commit] r13071 - in rt/branches/3.8-TESTING: bin

sartak at bestpractical.com sartak at bestpractical.com
Mon Jun 9 15:42:29 EDT 2008


Author: sartak
Date: Mon Jun  9 15:42:26 2008
New Revision: 13071

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/bin/rt.in

Log:
 r61879 at onn:  sartak | 2008-06-09 15:40:49 -0400
 Update the field regex in the CLI


Modified: rt/branches/3.8-TESTING/bin/rt.in
==============================================================================
--- rt/branches/3.8-TESTING/bin/rt.in	(original)
+++ rt/branches/3.8-TESTING/bin/rt.in	Mon Jun  9 15:42:26 2008
@@ -94,7 +94,7 @@
 # (XXX: Ask Autrijus how i18n changes these definitions.)
 
 my $name   = '[\w.-]+';
-my $field  = '(?:[a-zA-Z](?:[a-zA-Z0-9_-]|\s+)*)';
+my $field  = '(?i:[a-z][a-z0-9_-]*|C(?:ustom)?F(?:ield)?-(?:[a-z0-9_ :()/-]|\s)+)';
 my $label  = '[a-zA-Z0-9 at _.+-]+';
 my $labels = "(?:$label,)*$label";
 my $idlist = '(?:(?:\d+-)?\d+,)*(?:\d+-)?\d+';


More information about the Rt-commit mailing list