in reply to Re: newbie to regex: all matches
in thread newbie to regex: all matches

This will run forever because the while loop will run as long as $content is true. Nothing in the loop changes $content, so assuming it's true to begin with, the loop never ends.