Re: [pcre-dev] [Bug 957] New: Unexpected PREG_BACKTRACK_LIMI…

Top Page
Delete this message
Author: ND
Date:  
To: Pcre-dev
Subject: Re: [pcre-dev] [Bug 957] New: Unexpected PREG_BACKTRACK_LIMIT_ERROR
<script.*>.*<\/script>
This regexp is very greedy to resources.
Try this one:
<script[^>]++.+?<\/script>