Hi,

not quite. The moral is to learn about greedy and non-greedy matching ;)!

-nik



Alex Kleider <aklei...@sonic.net> schrieb:
>On 2013-08-03 13:38, Dominik George wrote:
>> Hi,
>> 
>>  b is defined as all non-word characters, so it is the complement oft
>> w. w is [A-Za-z0-9_-], so b includes $ and thus cuts off your <sign>
>> group.
>> 
>>  -nik
>
>I get it now.  I was using it before the '$' to define the beginning of
>
>a word but I think things are failing because it detects an end of
>word.
>Anyway, the moral is not to use it with anything but \w!
>
>Thanks!

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to