11 Feb 21:20
Re: [FormBuilder] validate + commas in FB source files
From: Nate Wiger <nwiger <at> gmail.com>
Subject: Re: [FormBuilder] validate + commas in FB source files
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-02-11 20:20:59 GMT
Subject: Re: [FormBuilder] validate + commas in FB source files
Newsgroups: gmane.comp.lang.perl.modules.formbuilder
Date: 2007-02-11 20:20:59 GMT
On 2/9/07, kevin montuori <montuori <at> gmail.com> wrote: > would there be any interest in changing File.pm (~ line 155) from: > > # split commas > @val = split /\s*,\s*/, $line; > > to something like: > > # split commas > my $split_regex = lc $term eq 'validate' > ? qr/\s*(?<!\\),\s*/ : qr/\s*,\s*/; > @val = split $split_regex, $line; Sounds like a reasonable addition. I believe there was also some talk on the list a short while ago about something similar for the js* options. Can you check whether the same option would work to maintain jsfunc et al intact? -Nate _______________________________________________ FBusers mailing list FBusers <at> formbuilder.org http://www.formbuilder.org/mailman/listinfo/fbusers
RSS Feed