I'm trying to figure out what I'm doing wrong when using ereg().
This is my regexp:
ereg("^[\]]$", "]");
and that does'n work, but this does:
ereg("^[\[]$", "[");
How come I can match left bracket but not the right?
am I using the esc char correctly?
please help me.
regards
/gange
This is my regexp:
ereg("^[\]]$", "]");
and that does'n work, but this does:
ereg("^[\[]$", "[");
How come I can match left bracket but not the right?
am I using the esc char correctly?
please help me.
regards
/gange
Comment