diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-04-04 03:48:12 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-04-04 03:48:12 +0400 |
commit | 7379cd1ca19446547782edaaed727dcbe65103be (patch) | |
tree | acf7f0c27136bb97faf079611bccc6948650f23b /editors/awk.c | |
parent | fab288cf0b31ff64a562cc496b20add822a6abbd (diff) |
awk: add comment about fixing bug 1333
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors/awk.c')
-rw-r--r-- | editors/awk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/awk.c b/editors/awk.c index 3ba1a422d..83c5b47ce 100644 --- a/editors/awk.c +++ b/editors/awk.c @@ -2060,6 +2060,8 @@ static int awk_sub(node *rn, const char *repl, int nm, var *src, var *dest, int //gsub(/\<b*/,"") on "abc" will reach this point, advance to "bc" //... and will erroneously match "b" even though it is NOT at the word start. //we need REG_NOTBOW but it does not exist... +//TODO: if EXTRA_COMPAT=y, use GNU matching and re_search, +//it should be able to do it correctly. /* Subtle: this is safe only because * qrealloc allocated at least one extra byte */ resbuf[residx] = *sp; |