Hi there!
keywordform = form.Form(
form.Textbox("keyword", form.regexp('\w+', 'only alphanumeric'))
)
This shoud only allow Alphanumeric input, but it doesnt (always)! If i
type "=foo" it fails, if i type "bar)=" it does not fail.
Someone said it could be because form.regexp() only checks the first 5
Integers or s.th? Im not very into Python (programming at all), so
could someone point me why it behaves like this? And maybe even a
solution where the whole string is checked?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---