• Hi there

    I have a code in my WP page:

    <?php
    
    $search = array ("'<script[^>]*?>.*?</script>'si",
    		"'<style[^>]*?>.*?</style>'si",
                    "'&(quot|#34);'i",
                    "'&(amp|#38);'i"
     ...
    ?>

    Plugin Grimp – PHP ends its work on first ‘?>’ which is inside my regular expression “‘<script[^>]*?>.*?</script>’si”.

    What should I do in this situation?

    http://wordpress.org/extend/plugins/grimp-php/

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

  • The topic ‘[Plugin: Grimp – PHP] Plugin error with regular expressions’ is closed to new replies.