humm actually this regexp doesn't seem to work with something like this :
[ aaa [ xxx ] [ xxx ] ]
It will not match the whole string if you put the cursor at the begining of the string, just the first "[ xxx ]" . :-/
On 21 janv. 05, at 11:39, Allan Odgaard wrote:
I do however have a macro to select the current method (i.e. out to the left/right brackets) which continue to the surrounding method when executed again. Basically it's a recording of:
- find previous: “[”
- move left (to deselect the bracket)
- find next: “[[^[]]*(?R)?[^[]]*]”
Dominique PERETTI http://www.lachoseinteractive.net