in reply to REGEX malfunction
Before you posted that node you were forced to preview it. When you previewed it you would have seen some text that said:
If something looked unlike you expected it to you might need to check out Writeup Formatting Tips
But you didn't check out Writeup Formatting Tips, did you? You were apparently really happy with the way that your node looked and you just went ahead and published it.
As I've said to you before, if you can't be bothered to make it as easy as possible for us to help you, then why should we be bothered to offer any assistance. You need to put <code> tags around any code in your nodes. This is all explained in Writeup Formatting Tips. Why can't you do that?
Oh, and my username is davorg, not "Daveorg". Attention to detail is a useful trait in a programmer.