i have tested code in firefox under ubuntu:
the frontend is a textarea,in textarea press the key ENTER,then submit to the server,
on the backend you'll get find \r\n string
r=request.POST.get("t")
r.find("\r\n")>-1:
print "has \r\n"
my question is when we will get \r\n ,when we'll get \n?is this platform independent?
this is important when want to use this string to use as a regular expression,any adivse is welcome