Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #13299

Re: help regarding re.search

References <CAP8kui=Nqo6bDQh-SA-t+KMFs=NrgYYFmnsw6wXATJ8-aTxmZQ@mail.gmail.com> <CAMZYqRR5UqHhdKiyLsZqE8DouXDWvFOsUw8OCYfjZ0E9f8iEBg@mail.gmail.com> <CAP8kuinJnPv=6U1J6LYZgGk_yUN6PskvHStCo1kEMHUBG1NkuQ@mail.gmail.com> <CAMZYqRSiHY3Cz=r=oAioNCUUEz=L1fW4ngLc4xCyPwwpU9mM2A@mail.gmail.com> <CAP8kuik0Aq0gc5NvYPU__k96QiSc0uj+nbAezsx685TGzb2o3w@mail.gmail.com>
Date 2011-09-15 14:49 +1000
Subject Re: help regarding re.search
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1144.1316062174.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Sep 15, 2011 at 2:41 PM, Sagar Neve <nevesagar@gmail.com> wrote:
> ./sample.py: line 9: syntax error near unexpected token `:'
> ./sample.py: line 9: `if (Opt_Param2 in url):    '
>

It worked for me in Python 3.2. What version of Python are you using?

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: help regarding re.search Chris Angelico <rosuav@gmail.com> - 2011-09-15 14:49 +1000

csiph-web