Yes! That was it! Thank you so much. I actually thought preg and ereg were
interchangeable, so, I'm glad you pointed out the difference for reg
expressions. Can you tell me what the open and closing slashes / are for
inside the quotes? Is it equivalent to [ and ] for ereg?


> DOH!  It's preg!!!  [[:space:]] is for ereg.  Use \s.  I don't know why I
> didn't notice sooner.  Do this:
> '/\s*page_break\s*/'
> --Dan

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to