jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: pymode.sl patch


Hello John,

"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Jörg Sommer <joerg@xxxxxxxxxxxx> wrote:
>>>    if (looking_at("return") or
>>>        looking_at("raise")  or
>>>        looking_at("break")  or
>>>        looking_at("pass")  or
>>>        looking_at("continue"))
>>
>>Add a space, look for "return ". But can return have a bracket? The you
>>need something like:
>
> I would try using
>
>    if ((re_looking_at ("return[^a-zA-Z0-9_]")
>         or re_looking_at("raise[^a-zA-Z0-9_]")

Does this regexp engine support braces and alternatives? "(return|raise)"
does not work.

BTW: What happened with the PCRE idea? Do you still plan to support PCRE?

Bye, Jörg.
-- 
Gott hat den Menschen erschaffen, weil er vom Affen enttäuscht war.
Danach hat er auf weitere Experimente verzichtet.
                                                          (Mark Twain)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]