[pcre-dev] [Bug 1626] coredump at least since 8.35 with expr…

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Temas antiguos: [pcre-dev] [Bug 1626] New: coredump at least since 8.35 with expression "[\]\)"
Asunto: [pcre-dev] [Bug 1626] coredump at least since 8.35 with expression "[\]\)"
https://bugs.exim.org/show_bug.cgi?id=1626

--- Comment #3 from Philip Hazel <ph10@???> ---
cat xlsread.m | pcretest

should work OK, if xlsread.m contains suitable pcretest input. "man pcretest"
documents the format, but it is quite simple, just lines of the form

/somepattern/[<possibly qualifiers>]
a data subject to match
another data subject to match

[<blank line ends test>]

/another pattern/
more data
...

Looking at your code, it looks as though you are searching an entire file. This
is harder to arrange in pcretest, as it all needs to be in one line, with \n
for each newline. I have now done this, and reproduced your crash in pcretest.
Now I can start trying to figure out what is happening. Incidentally, in the
new API version of PCRE (called PCRE2) this example does not crash. Although
development is concentrated on PCRE2, we are still fixing bugs in PCRE1, so
unless this is totally impossible, I should be able to fix it.

--
You are receiving this mail because:
You are on the CC list for the bug.