Ok. Now using re_looking_at () instead of looking_at(), here's the latest pymode.sl patch. On 8/8/06, 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_]") . . --John -------------------------- To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with the word "unsubscribe" in the message body. Need help? Email <jed-users-owner@xxxxxxxxxxx>.
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
Attachment:
pymode.sl-jed0.99-18.v3.patch
Description: Binary data