> using any of the string functions on the output would ofcourse cause a > performance drawback (do you agree with me?), i had used a combination of > string functions to do instead of regexps, which one will be faster as you > think ?
It depends on exactly what your doing, how much text you have, and why you need to match the position as well as the text. > where can i suggest such a function on the current regexps API ? I don't know. ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. http://www.phparch.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php