You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@yahoo.com> on 2004/12/07 14:52:28 UTC

using aggregate field where filling in fields is optional

Hi,
I am using an aggregate field, in a situation where
there may or may not be anything to enter in some of
the constituent fields.

Also, I would like the user to be able to enter pretty
much anything...

Shouldn't the following regex work for each field?

([.]*)

thx
Paul


=====
This communication, including attachments, is for the exclusive use of 
the addressee and may contain proprietary, confidential, or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited.  If 
you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: using aggregate field where filling in fields is optional

Posted by Paul Joseph <pj...@yahoo.com>.
Thank you Richard, appreciate it!

rgds
Paul
--- Richard Lewis <ri...@fastmail.co.uk> wrote:

> 
> On Tue, 7 Dec 2004 05:52:28 -0800 (PST), "Paul
> Joseph"
> <pj...@yahoo.com> said:
> > Hi,
> > I am using an aggregate field, in a situation
> where
> > there may or may not be anything to enter in some
> of
> > the constituent fields.
> > 
> > Also, I would like the user to be able to enter
> pretty
> > much anything...
> > 
> > Shouldn't the following regex work for each field?
> > 
> > ([.]*)
> > 
> I don't think there's any need to put a character
> class round the '.'
> matcher:
> 
> "(.*)" will match any character 0 or more times.
> 
> Richard.
> -- 
>   Richard Lewis
>   richardlewis@fastmail.co.uk
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 


=====
This communication, including attachments, is for the exclusive use of 
the addressee and may contain proprietary, confidential, or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited.  If 
you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: using aggregate field where filling in fields is optional

Posted by Richard Lewis <ri...@fastmail.co.uk>.
On Tue, 7 Dec 2004 05:52:28 -0800 (PST), "Paul Joseph"
<pj...@yahoo.com> said:
> Hi,
> I am using an aggregate field, in a situation where
> there may or may not be anything to enter in some of
> the constituent fields.
> 
> Also, I would like the user to be able to enter pretty
> much anything...
> 
> Shouldn't the following regex work for each field?
> 
> ([.]*)
> 
I don't think there's any need to put a character class round the '.'
matcher:

"(.*)" will match any character 0 or more times.

Richard.
-- 
  Richard Lewis
  richardlewis@fastmail.co.uk


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org