The "patterns" in your second file which you are using to match the lines in your first file are not regexen - they are just strings. To look for a string inside another string use index.
In reply to Re: Regex variables with delimiters
by hippo
in thread Regex variables with delimiters
by clerew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |