How do I put several characters after the first letter and the last letter in the whole text by use of Vim?
E.g. I need to put {{c1::
after the first letter and }}
after the last letter. Also, I want to ignore two-letter words.
答案 0 :(得分:0)
You mean in every word? Try this:
dependencies {
compile 'com.android.volley:volley:1.0.0'
}
That will replace every first character in a word with the first character followed by {{c1:: and add }} at the end of it. Words shorter than three characters are ignored.
If your words contain more than just [a-zA-Z0-9], then replace \w by a more appropriate character class.