From 6b7a06510c3b2969168c58b7fb86326134227aff Mon Sep 17 00:00:00 2001 From: Robin Jadoul Date: Fri, 27 May 2016 12:25:05 +0200 Subject: [PATCH] Fix stupid . regex bug --- src/re.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/re.cpp b/src/re.cpp index face93f..0c88afd 100644 --- a/src/re.cpp +++ b/src/re.cpp @@ -286,10 +286,7 @@ namespace lxs { break; case '.': - for (int c = 0; c <= 256; c++) - { - stk.push(dotChar()); - } + stk.push(dotChar()); break; case ']':