Skip to content
Shuai YUAN edited this page May 29, 2015 · 1 revision

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:

Table of Contents


Clone this wiki locally