Using a few different patterns but they each come up with this error - so what\'s wrong?
My shortest one to diagnose is:
$pattern = \"]
You are lacking the regexp delimiters. Try:
$pattern = "#]*[^/])>#i";