On Dec 17, 4:23 am, "thunderf...@gmail.com"
wrote:
> not as slick as Emile's (didn't think about using strip() ), but
> seemingly functional:
>
> data = ['key1: data1','key2: data2','key3: data3',' key4: ','
> \tdata4.1',' \tdata4.2',' \tdata4.3','key5: data5']
> result = {}
>
> for item in data:
Hi all and one,
How to do server side validation in plone? please help me its very
urgent. i created a validator.py file where i wrote a script for
'special character are not allowed' and calling that script in
movie.py its working fine by validators = ('splcharvalid',), and when
i wrote another sc
On Jul 2, 6:25 pm, Ben Finney <[EMAIL PROTECTED]>
wrote:
> Sallu <[EMAIL PROTECTED]> writes:
> > validateEmail(msg) i wrote a script above it works fine
>
> Actually, no. It rejects a great many email addresses that are valid.
>
> > but it does not check for va
Hi All, import re
msg=raw_input('Enter the email : ')
def validateEmail(email):
#if re.match("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]
{1,3})(\\]?)$", email) != None:
if re.match("^([EMAIL PROTECTED])@((?:[-a-z0-9]+\.)+[a-z]{2,})$",
email) != None:
p
Hi all and one
i wrote this script, working fine without fail( just run it)
import re
value='This is Praveen'
print value
#value = 'riché gerry'
#words=str(value.split()).strip('[]').replace(', ', '') ( here i tried
to convert in to list and then back to string)
#print words
richre=re.compile(r'[a
; be done, especially section Defining Encoding, where there
> are multiple ways of doing that.
>
> Sallu pisze:
>
>
>
> > Hi All,
> > here i have on textbox in which i want to restrict the user to not
> > enter the 'acent character' like ( é )
> > i w
Hi All,
here i have on textbox in which i want to restrict the user to not
enter the 'acent character' like ( é )
i wrote the program
import re
value="this is Praveen"
#value = 'riché gerry'
if(re.search(r"^[A-Za-z0-9]*$",value)):
print "Not allowed accent character"
else:
print "Valid"
outpu
i want to restrict to user to not enter accents character. si i need
to make an Regular expressions for accents like ó character
--
http://mail.python.org/mailman/listinfo/python-list