summaryrefslogtreecommitdiffstats
path: root/awkreg.awk
diff options
context:
space:
mode:
Diffstat (limited to 'awkreg.awk')
-rw-r--r--awkreg.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkreg.awk b/awkreg.awk
index 87c5773..088b53f 100644
--- a/awkreg.awk
+++ b/awkreg.awk
@@ -223,7 +223,7 @@ function is_regex(r)
{
ok = is_regex($0)
- printf("is_regex(\"%s\") = %d", $0, ir)
+ printf("is_regex(\"%s\") = %d", $0, ok)
if (!ok)
printf(", junk = \"%s\"", regex_check($0))
printf("\n")