It might be helpful for us to know what $PatchPath contains. It's hard to debug a regex that we can't see, unless you're saying that your pattern looks like patch-5.1.1.21510.gpg, which would be silly because your target text doesn't have the ".gpg" suffix. Please post your actual pattern.
Dave
In reply to Re: Multiline match
by davido
in thread Multiline match
by arunbhargav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |