Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

No way to match beginning/end of buffer (string) #570

Open
ghost opened this issue Oct 22, 2015 · 1 comment
Open

No way to match beginning/end of buffer (string) #570

ghost opened this issue Oct 22, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 22, 2015

Commonly one could use \A to match the beginning of the string or \Z to match the end.

^ and $ only match lines and are not reliable for doing find/replacements with regards to position in the buffer.

As it stands, there is no way to match beginning or end of the buffer 😦


The POSIX anchors don't work either

\` - POSIX beginning
\' - POSIX end

These suckers are hard to write in markdown !

@thedaniel
Copy link

Thanks for the report!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants