aboutsummaryrefslogtreecommitdiffstats
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/re.c b/re.c
index e427a8fe..9118129e 100644
--- a/re.c
+++ b/re.c
@@ -259,7 +259,7 @@ research(Regexp *rp, char *str, int start,
size_t len, int flags)
{
const char *ret = str;
- int try_backref;
+ int try_backref = false;
int need_start;
int no_bol;
int res;
@@ -396,6 +396,13 @@ re_update(NODE *t)
void
resetup()
{
+ /*
+ * Syntax bits: _that_ is yet another mind trip. Recreational drugs
+ * are helpful for recovering from the experience.
+ *
+ * Aharon Robbins <arnold@skeeve.com>
+ * Sun, 21 Oct 2007 23:55:33 +0200
+ */
if (do_posix)
syn = RE_SYNTAX_POSIX_AWK; /* strict POSIX re's */
else if (do_traditional)