You can already do that by piping cleanup which would remove unmached
charatacters or using IS_MATH() validator.

On Oct 29, 11:18 am, Jonathan Lundell <jlund...@pobox.com> wrote:
> On Oct 29, 2009, at 9:01 AM, mdipierro wrote:
>
>
>
> > I do not disagree. Shall we make is_not_empty strip?
>
> If it's going to change, how about (also) an optional argument,  
> defaulting to None, that's a string that counts as empty? I'm thinking  
> of the case in which you put instructions to the user in a field, like  
> "first name" in the first_name field. In that case, it'd be convenient  
> of "first name" counted as EMPTY.
>
>
>
> > On Oct 29, 10:43 am, Thadeus Burgess <thade...@thadeusb.com> wrote:
> >> Ok, I guess I just figured that IS_NOT_EMPTY would check for if the  
> >> string
> >> was blank as well.
>
> >> Thanks for clarifying
>
> >> -Thadeus
>
> >> On Thu, Oct 29, 2009 at 10:40 AM, mdipierro  
> >> <mdipie...@cs.depaul.edu> wrote:
> >>> tually is CLEANUP()  or CLENAUP(regex='.') that does that.
> >>> I do not think we agreed to anything el
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to