PracticalVim Tip75 - yszheda/wiki GitHub Wiki

Tip 75: Use Parentheses to Capture Submatches

Return to the top: <>

regex matching duplicate words:

  • `\0` always refers to the entire match
  • `\_s`: matches whitespaces or a line break

References:

⚠️ **GitHub.com Fallback** ⚠️