help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

eval regexp in perl-db?


From: Mike Ballard
Subject: eval regexp in perl-db?
Date: Sat, 19 Nov 2005 16:50:01 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Thought I'd done this before but am not getting the result I was hoping
for; I'm trying to see what exprs evaluate as (without needing printfs in
code).

The expr is "m/$str\Z/i"; at perl-db prompt I try x/p/m but x/p return "1"
and whatever m returns is Greek (to me).  Is there some way to eval
regexps from perl-db prompt in emacs?

If I do have to resort to printf in code, which pattern space (if that's
what it's called) do I look at?  $_, $`, $', $+ aren't showing me the
result of the expr...

Mike
-- 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]