diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-05-11 12:38:58 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-05-11 12:38:58 -0700 |
| commit | a93220972f8130732c8cd0267c0b14db77ac19ea (patch) | |
| tree | d1141bfdcded68c8b51d9ed6a735aea5134ab4c8 /bp.1 | |
| parent | 3359a804c8fe02ea4e9bc1abb7430109affdd535 (diff) | |
Overhaul of |-word boundaries (| is deprecated), performance
improvements for repeating matches, tweaks to the logic of word vs. id
Diffstat (limited to 'bp.1')
| -rw-r--r-- | bp.1 | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -116,9 +116,6 @@ Zero or more whitespace characters (specifically, spaces and tabs) .B __ Zero or more whitespace or newline characters -.B | -A word boundary - .B "foo" .B 'foo' The literal string \fIstring\fR. Escape sequences are not allowed. @@ -237,7 +234,7 @@ Find files ending with ".c" and replace the extension with ".h" .TP .B -bp -p '|"foobar"| parens' my_file.py +bp -p '{foobar} parens' my_file.py Find the literal string \fB"foobar"\fR, assuming it's a complete word, followed by a pair of matching parentheses in the file \fImy_file.py\fR |
