If you look at my original posting you'll see that it maps the strings through quotemeta, which escapes those characters, making them safe to use in a regex.
In reply to Re^5: Deleting a matching string in an array
by moritz
in thread Deleting a matching string in an array
by Shamaeso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |