all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* eval regexp in perl-db?
@ 2005-11-19 16:50 Mike Ballard
  0 siblings, 0 replies; only message in thread
From: Mike Ballard @ 2005-11-19 16:50 UTC (permalink / raw



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
-- 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-19 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 16:50 eval regexp in perl-db? Mike Ballard

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.