M
Michael T. Davis
When using m//, is it possible to obtain the (sub)string of the
target which actually matched the regex? For example, if the target is
"Get your viagra here" and the regex is "(cialis|viagra|xanax)", is there
a way to indicate that the match was "viagra"?
Thanks,
Mike
target which actually matched the regex? For example, if the target is
"Get your viagra here" and the regex is "(cialis|viagra|xanax)", is there
a way to indicate that the match was "viagra"?
Thanks,
Mike