Re: any perl-db/emacs jockeys here?
What do you want to see?
A regex is evaluated as an expression, like == and therefore the "result" is boolean in nature.
If you want to see what matched, there are special variables for successfull matches.
$& gets the part of the string that matched the regex
$` gets the part of the string before what matched
$' gets the part of the string after what matched
It might help tp see a larger context of what you are doing and what you want.
|