Friday, March 26, 2010

get matched sting after search()

How do I get the matching string search()
(what is $& in perl), or submatches (what is $1,$2 in perl) ?

Thanks
Yakov

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

No comments: