martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.25k stars 258 forks source link

Structural regular expression support #219

Closed TieDyedDevil closed 4 years ago

TieDyedDevil commented 8 years ago

The sam command:

:2,3

should select lines 2 and 3.

Instead, only line 2 is selected.

martanne commented 8 years ago

Thanks for giving it a try! This particular bug should be fixed. I will leave the issue open for other structural regular expression related bugs (the x and y commands seem to not always work correctly).

More bug reports welcome ...

martanne commented 8 years ago

Ok some more comments / issues related to the sam integration:

martanne commented 7 years ago

The last few commits should have improved structural regex support:

Multiple file support is still largely untested:

It would be nice to get some feedback about the current state of affairs from users familiar with sam/acme or more generally structural regexp.

I'm tagging a few people who reported issues in the past and/or engaged in related discussion on IRC @Screwtapello, @halfwit, @mbucc.

martanne commented 4 years ago

I'm closing this because the basic functionality (including the issue initially reported here) seems to work fine. The limitations regarding multiple file support mentioned in my last comment are still true. The wiki lists some differences in syntax and behavior compared to sam.

I'm still very much interested in feedback, ideas and individual bug reports regarding the structural regex support. A somewhat recent example of that was #774.