On 8 July 2015 at 04:40, Nagy Tamas (TVI-GmbH) <tamas.n...@tvi-gmbh.de> wrote: > m/\(\*[ ]+\"\@PATH\"[ ]+:=[ ]+'(\/)?([\*A-Za-z_ ]*(\/)?)+'[ ]\*\)?/))
This is not the exact code you 're using obviously, because the last 2 ")" marks are actually outside the regex. Removing those ))'s makes the regex compile just fine. So we need "the code", not just the regex. Ideally, if you can give some perl code that is minimal that replicates your problem exactly, then that would be very helpful in us helping you. Ideally, your code should be reduced as far as possible till you have the least possible amount of code that demonstrates your problem. Additional notes: Values in @PATH are not relevant to your expression, because you explicitly escape the @ to mean a literal @. If you did not escape it, it would have interpolated. But even then, I'd still have no idea what you are doing :) -- Kent KENTNL - https://metacpan.org/author/KENTNL -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/