perl’s pattern matching enhanced by “named capture buffers”

python has long had it: symbolic groups. They allow you to refer to a substring matched by a symbolic group name: “(?P<id>)”, id in this case. Now perl has drawn equal: “(?<id>)” does the same job, and the feature is called named capture buffers. Read it up in the perlre manual page or online here!… Continue reading perl’s pattern matching enhanced by “named capture buffers”

Eclipse Pydev: refactoring

What Pydev (will be inserted a little later, promised) calls Refactoring is quite a nice toy, but not too reliable. I tried “Rename…“, and it does not rename keyword parameter usages. I tried to use “Inline Local…” on an attribute getter, and it simply fell on its nose shouting “Could not translate editor coordinates into… Continue reading Eclipse Pydev: refactoring