Are these the real regexes you want to "parallelize"?
Step one (a): use one regex with a [char-class] with '\ and so on
Step one (b): combine others with or-clauses in your regex (A|B)
Step two: process more than one line at a time by joining them together.
update
added (one b) | [reply] [d/l] [select] |
Anonymous Monk, You're not really answering my question other than telling me my thinking is wrong. I clearly asked what the best way to do bulk-pattern substitution is. If "smart match" is not the correct thinking, then please, feel free to elaborate on what the best way is... ;-)
Lets, see , match operator matches, substitution operator substitutes ... understanding that one is apples and the other is oranges, even if they're both food, is very very important
You've used a sufficient amount of "invented" vocabulary, so I gave you the answer in the form of a link
but, you failed my litmus test, you didn't read the link I gave you, you didn't find the syntax you're looking for,
so, we're at the point of waiting for you to read my link , and ask a question about it
| [reply] |