From 0991ffc948e8a71cb1ec7368ece86202dff1f31d Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 22 Nov 2019 15:33:14 -0700 Subject: regcomp.sym: Simplify a couple regnode defns Under the given circumstances, these work precisely like others that already have good descriptions. --- regnodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'regnodes.h') diff --git a/regnodes.h b/regnodes.h index 89f8ecc2e7..cce9d7f1fc 100644 --- a/regnodes.h +++ b/regnodes.h @@ -19,11 +19,11 @@ #define MEOL 5 /* 0x05 Same, assuming multiline: /$/m */ #define EOS 6 /* 0x06 Match "" at end of string: /\z/ */ #define GPOS 7 /* 0x07 Matches where last m//g left off. */ -#define BOUND 8 /* 0x08 Like BOUNDA for non-utf8, otherwise match "" between any Unicode \w\W or \W\w */ +#define BOUND 8 /* 0x08 Like BOUNDA for non-utf8, otherwise like BOUNDU */ #define BOUNDL 9 /* 0x09 Like BOUND/BOUNDU, but \w and \W are defined by current locale */ #define BOUNDU 10 /* 0x0a Match "" at any boundary of a given type using /u rules. */ #define BOUNDA 11 /* 0x0b Match "" at any boundary between \w\W or \W\w, where \w is [_a-zA-Z0-9] */ -#define NBOUND 12 /* 0x0c Like NBOUNDA for non-utf8, otherwise match "" between any Unicode \w\w or \W\W */ +#define NBOUND 12 /* 0x0c Like NBOUNDA for non-utf8, otherwise like BOUNDU */ #define NBOUNDL 13 /* 0x0d Like NBOUND/NBOUNDU, but \w and \W are defined by current locale */ #define NBOUNDU 14 /* 0x0e Match "" at any non-boundary of a given type using using /u rules. */ #define NBOUNDA 15 /* 0x0f Match "" betweeen any \w\w or \W\W, where \w is [_a-zA-Z0-9] */ -- cgit v1.2.1