bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19306: [PATCH 1/2] dfa: avoid execution for a pattern including an u


From: Norihiro Tanaka
Subject: bug#19306: [PATCH 1/2] dfa: avoid execution for a pattern including an unsupported expression
Date: Tue, 09 Dec 2014 00:24:38 +0900

If a pattern includes an unsupported expression which is labeled as
BACKREF, a text will almost fail to match the pattern.

First patch makes changes to return immediately and avoid pidding search
if a pattern includes an unsupported expression.

Second patch removes word constraint support which is as labeled BEGWORD,
ENDWORD, LIMWORD and NOTLIMWORD for multibyte-locales including UTF-8
from DFA, as we use regex instead of DFA for a pattern including word
constraint so that it does not correctly treat word constraint.

Attachment: 0001-dfa-avoid-execution-for-a-pattern-including-an-unsup.patch
Description: Text document

Attachment: 0002-dfa-remove-a-support-of-a-word-delimiter-expression-.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]