[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] [BUG] Long regular expression crashes recfix
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] [BUG] Long regular expression crashes recfix |
Date: |
Fri, 05 Jun 2015 19:40:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Hi Titus.
%rec: Dataset
%mandatory: Keyword
%type: Keyword regexp /(Research data|Eye
movements|Reading|Psychology|Parafoveal processing|Word identification|Sentence
processing|Word frequency|Word predictability|Lexical ambiguity|Preview
benefit|Eyetracking|Reading ability)/
Keyword: Research data
When I remove a term from the list of keywords, it works, which perhaps
indicates that the code assumes an upper limit on the length of the
regular expression.
Tested with recutils 1.7 built from source on Xubuntu 14.04.
I can't reproduce the problem with GIT recutils. Your bug is strange,
because no hard limit ever existed in the lenght of a regexp literal in
%type (or %typedef) fields. I am pretty sure of that.
Could you please try to git clone git.sv.gnu.org/recutils.git and see if
you can reproduce the problem with the latest master?
Thanks!