[PLUG] phone number regex

Felix Lee flee at aracnet.com
Fri Jun 7 21:51:21 UTC 2002


Rich Shepard <rshepard at appl-ecosys.com>:
> > [0-9][0-9][0-9]-[0-9][0-9][0-9]-[0-9][0-9][0-9][0-9]
> > 
> > There isn't a simpler regexp in emacs that will match that exactly.  (This
> > is emacs 20.7; I haven't looked at what changes emacs 21 introduced yet.)
> 
>   This is the base from which I've started. It's not working for me
> (emacs-20.7-1). Doesn't work in 'joe', either, which uses emacs regex. Darn!

What does your data file look like?  How are you doing the
query-replace?
--
[ sometimes whatever doesn't kill me makes me mope ]




More information about the PLUG mailing list