I am trying to write a rather complicated page in PHP for websitebaker. There are places in the code that I am writing that has regular expressions with numbers in brackets after them. For example:
eregi("^[a-fA-F0-9]{32}$", $topicID)
Now, when I save the code in WB, for some reason, those numbers in the brackets and the brackets disappear. Like this:
eregi("^[a-fA-F0-9]$", $topicID)
Does anyone have an idea why those are getting parsed out and how I can prevent it from happening? I assume that it has something to do with special characters that WB wants to interpret. I am hoping that there is a way to escape them so that they aren't pulled out.
Many thanks in advance.
Matt