Re: [rt-users] Regular Expressions for Custom Field Validation in RT3.6.0

2006-06-26 Thread Todd Chapman
On Mon, Jun 26, 2006 at 09:52:42AM -0700, Schultz, Eric wrote: > I think that may break the regex parsing in MatchPattern() in > CustomField_Overlay.pm. Unless you are talking about doing something > like: > > (?#Year)^[12]\d{3}$ > > becomes > > (?#Year)(^[12]\d{3}$)? > > Give it a try and let

RE: [rt-users] Regular Expressions for Custom Field Validation in RT3.6.0

2006-06-26 Thread Schultz, Eric
Message- From: Todd Chapman [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:48 AM To: Schultz, Eric Cc: Nick Metrowsky; rt-users@lists.bestpractical.com Subject: Re: [rt-users] Regular Expressions for Custom Field Validation in RT3.6.0 On Mon, Jun 26, 2006 at 08:22:46AM -0700, Schultz, Eric

Re: [rt-users] Regular Expressions for Custom Field Validation in RT3.6.0

2006-06-26 Thread Todd Chapman
On Mon, Jun 26, 2006 at 08:22:46AM -0700, Schultz, Eric wrote: > I know what you mean, and I did something like that in my code that I > backported from 3.5.x to 3.4.x. I added another regex field that said > whether something was mandatory or not, where 1 is mandatory, and 0 is > not: > > (?#Yea

RE: [rt-users] Regular Expressions for Custom Field Validation in RT3.6.0

2006-06-26 Thread Schultz, Eric
s] Regular Expressions for Custom Field Validation in RT3.6.0 On Fri, Jun 23, 2006 at 01:38:27PM -0600, Nick Metrowsky wrote: > Hi Everyone, > > > > Once I was told where Custom Field Validation is maintained in RT 3.6.0, > I thought I make this small contribution to RT 3.6.0.