Chapter 12: Matching Patterns and Literals
Chapter Overview
Part IV: Patterns | Tips 72-78
Understanding Vim’s regex flavor.
Tips in This Chapter
| Tip | Title | Mastered |
|---|---|---|
72 |
Tune the Case Sensitivity of Search Patterns |
[ ] |
73 |
Use the \v Pattern Switch for Regex Searches |
[ ] |
74 |
Use the \V Literal Switch for Verbatim Searches |
[ ] |
75 |
Use Parentheses to Capture Submatches |
[ ] |
76 |
Stake the Boundaries of a Word |
[ ] |
77 |
Stake the Boundaries of a Match |
[ ] |
78 |
Escape Problem Characters |
[ ] |
Pattern Switches
| Switch | Effect |
|---|---|
|
Very magic (regex-like) |
|
Very nomagic (literal) |
|
Case insensitive |
|
Case sensitive |
Commands Learned
| Command | Description | Notes |
|---|---|---|
Practice
Commands I tried while reading:
" (Add commands you practiced)
Questions
Things I want to explore further.
Chapter Complete
-
Read entire chapter
-
Tried all tips
-
Noted key learnings
Date completed: _