[pcre-dev] PCRE Bug

トップ ページ
このメッセージを削除
著者: David
日付:  
To: pcre-dev
題目: [pcre-dev] PCRE Bug
Hi, I am using PCRE via PHP and think I may have found a bug. I have
tested my code and am sure that the problem is with regular expression
and not something else.

I am using this regular expression, which is causing problems:

/<$element *(.*)>(.*)<\/$element>/iU

where $element is replaces, such as:

/<a *(.*)>(.*)<\/a>/iU


It works fine, but after a number of recursions I am getting a seg
fault.

I think its got something to do with the part ' *' as it was not seg
faulting until I added this.

David