Thanks I think I got the right regex now, this seems to work
m/(ASDF_$arg \{)([^}]*?)magic(.*?)(\})/sThat is exactly what I wanted.
In reply to Re^6: Matching a string in a parenthesized block (regex help)
by maxamillionk
in thread Matching a string in a parenthesized block (regex help)
by maxamillionk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |