aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-05-11 19:06:41 -0700
committerBruce Hill <bruce@bruce-hill.com>2021-05-11 19:06:41 -0700
commit1a1b3ecfee276795e4c9b2981207e2aba289976c (patch)
tree2372516bc5c6e86b2ee7af4e99c6f0e4a12608d2 /pattern.c
parenta93220972f8130732c8cd0267c0b14db77ac19ea (diff)
Renamed boundary->edge
Diffstat (limited to 'pattern.c')
-rw-r--r--pattern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pattern.c b/pattern.c
index b1bd61a..f107000 100644
--- a/pattern.c
+++ b/pattern.c
@@ -305,11 +305,11 @@ static pat_t *_bp_simplepattern(file_t *f, const char *str)
if (c == '{') { // Surround with `|` word boundaries
pat_t *left = new_pat(f, start, start+1, -1, BP_REF);
- left->args.ref.name = "left-word-boundary";
+ left->args.ref.name = "left-word-edge";
left->args.ref.len = strlen(left->args.ref.name);
pat_t *right = new_pat(f, str, str+1, -1, BP_REF);
- right->args.ref.name = "right-word-boundary";
+ right->args.ref.name = "right-word-edge";
right->args.ref.len = strlen(right->args.ref.name);
pat = chain_together(f, left, chain_together(f, pat, right));