Update preg_match.php

Preg_match sample

Results
hllo {hyarticle 2;title;fullimg} knjnjnj prjrsjd {hyarticle 6;introimg} kmkmkojj njnjnj {hyarticle 7}

Array
(
    [0] => Array
        (
            [0] => Array
                (
                    [0] => {hyarticle 2;title;fullimg}
                    [1] => 5
                )

            [id] => Array
                (
                    [0] => 2
                    [1] => 16
                )

            [1] => Array
                (
                    [0] => 2
                    [1] => 16
                )

            [title] => Array
                (
                    [0] => ;title
                    [1] => 17
                )

            [2] => Array
                (
                    [0] => ;title
                    [1] => 17
                )

            [introimg] => Array
                (
                    [0] => 
                    [1] => -1
                )

            [3] => Array
                (
                    [0] => 
                    [1] => -1
                )

            [fullimg] => Array
                (
                    [0] => ;fullimg
                    [1] => 23
                )

            [4] => Array
                (
                    [0] => ;fullimg
                    [1] => 23
                )

        )

    [1] => Array
        (
            [0] => Array
                (
                    [0] => {hyarticle 6;introimg}
                    [1] => 49
                )

            [id] => Array
                (
                    [0] => 6
                    [1] => 60
                )

            [1] => Array
                (
                    [0] => 6
                    [1] => 60
                )

            [title] => Array
                (
                    [0] => 
                    [1] => -1
                )

            [2] => Array
                (
                    [0] => 
                    [1] => -1
                )

            [introimg] => Array
                (
                    [0] => ;introimg
                    [1] => 61
                )

            [3] => Array
                (
                    [0] => ;introimg
                    [1] => 61
                )

        )

    [2] => Array
        (
            [0] => Array
                (
                    [0] => {hyarticle 7}
                    [1] => 88
                )

            [id] => Array
                (
                    [0] => 7
                    [1] => 99
                )

            [1] => Array
                (
                    [0] => 7
                    [1] => 99
                )

        )

    [3] => Array
        (
        )

)
no
no
yes
Powered By ChronoForms - ChronoEngine.com