From 8167af78f07b0f1cc51c874b8fa7396644413641 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 8 Aug 2024 10:25:43 -0300 Subject: [PATCH] Remove JIT flag --- src/rules.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules.cr b/src/rules.cr index 1db6bf6..99bfa40 100644 --- a/src/rules.cr +++ b/src/rules.cr @@ -106,7 +106,7 @@ module Tartrazine flags |= LibPCRE2::DOTALL if dotall flags |= LibPCRE2::CASELESS if ignorecase flags |= LibPCRE2::ANCHORED if anchored - flags |= LibPCRE2::NO_UTF_CHECK | LibPCRE2::JIT_PARTIAL_SOFT + flags |= LibPCRE2::NO_UTF_CHECK @re = Regex::PCRE2.compile(pattern, flags) do |error_message| raise Exception.new(error_message) end