PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Would someone be kind enough to explain why the following ereg isn't working. I'm too hot on the whole ereg thing yet but most of my other stuff is working... it's just this which is being a pain in the rear.
$ man 3 regexp
................
To include a literal `]' in the sequence, make it the first character
(following a possible `^'). To include a literal `-', make it the first
or last character.
................
You don't need to escape closing square bracket in the range.