[Tutor] regular expression question
Kelie
kf9150 at gmail.com
Tue Apr 28 12:20:45 CEST 2009
Andre Engels <andreengels <at> gmail.com> writes:
>
> 2009/4/28 Marek SpociĆski <at> go2.pl,Poland <marek_sp <at> 10g.pl>:
> > I suggest using r'abc.+?jk' instead.
> >
>
> That was my first idea too, but it does not work for this case,
> because Python will still try to _start_ the match as soon as
> possible.
yeah, i tried the '?' as well and realized it would not work.
More information about the Tutor
mailing list