in reply to regexp matching with "\[" in the substring to be matched

As rev_1318 said, you should always escape the special characters by giving backslash.

Also you go through perlre.

Prasad

  • Comment on Re: regexp matching with "\[" in the substring to be matched