I am writing a Perl script to search elasticsearch index. My text contains special characters \ and :. i try to filter them with \ and then search with the formatted string. But Perl again escapes them with one \ and post it them to elasticsearch. for eg if the text is C_:\_20Label_ and i escape them in code as C_\:\\_20Label, perl escapes again as C_\\:\\\\_20Label_. How to fix this issue.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |