[pcre-dev] [Bug 780] New: Strange bug matching a complex reg…

トップ ページ
このメッセージを削除
著者: Quentin Raynaud
日付:  
To: pcre-dev
新しいトピック: [pcre-dev] [Bug 780] Strange bug matching a complex regexp
題目: [pcre-dev] [Bug 780] New: Strange bug matching a complex regexp
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=780
           Summary: Strange bug matching a complex regexp
           Product: PCRE
           Version: 7.6
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: pcre@???
                CC: pcre-dev@???



Created an attachment (id=282)
--> (http://bugs.exim.org/attachment.cgi?id=282)
File to reproduce the bug

I found another bug trying to rewrite the regexp I used in bug #779.

In the lined attachment, you'll find :
- test_file.txt: the file to test the regexp on
- fails.regexp: a regexp that should match the whole file from the first { to
the last } but does not

Using PCRE 7.6 (this time also, I have no short way to test 7.8), I try to
match the given regexp and it fails to match the given file for no good reason.
I'm pretty sure this should work since it works on every other PHP files I have
in my project and because the same regexp match as it should using Perl instead
of PHP.

Thanks a lot for the good work on PCRE,
Quentin


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email