I'm using an inline script in an alias to send text, using wildcards captured from the alias.
^vocp (\w*)( \w*)?$
How do I access the wildcards from the inline script? ${$_[2]}[0], which I use in the script file subroutines to access the wildcards, does not appear to work in an inline script. $1, which is used by Perl with pattern matches, doesn't work either. %1, documented in MUclient help, also doesn't work. I even tried \1, which is used in my text/code editor for it's pattern matches (if Perl-like RegExp isn't enabled).
Am I missing a subtle escaping problem, or something?
^vocp (\w*)( \w*)?$
How do I access the wildcards from the inline script? ${$_[2]}[0], which I use in the script file subroutines to access the wildcards, does not appear to work in an inline script. $1, which is used by Perl with pattern matches, doesn't work either. %1, documented in MUclient help, also doesn't work. I even tried \1, which is used in my text/code editor for it's pattern matches (if Perl-like RegExp isn't enabled).
Am I missing a subtle escaping problem, or something?