Newbie CGI problem
Gordon McMillan
gmcm at hypernet.com
Mon Mar 20 17:19:41 EST 2000
More information about the Python-list mailing list
Mon Mar 20 17:19:41 EST 2000
- Previous message (by thread): subprocess pipes (expect-like)?
- Next message (by thread): Newbie CGI problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
richard_chamberlain writes:
> I'm having difficulty with a very elementary problem in a cgi script I
> copied straight off a web page. I believe the problem originates at
> SubResult = re.subn("<!-- *** INSERT CONTENT HERE *** -->",
> Content,TemplateInput) - this raises an exception pcre.error: ('nothing to
> repeat',6).
Because the asterisk has special meaning to re - it means
"any number of the preceeding character".
Rather than try and learn from random stuff picked up off the
sidewalk ("put that down, you don't know where it's been!"),
you might want to start here:
http://www.python.org/topics/web/
- Gordon
- Previous message (by thread): subprocess pipes (expect-like)?
- Next message (by thread): Newbie CGI problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list