[pmwiki-devel] Email pattern...

Patrick R. Michaud pmichaud at pobox.com
Thu May 31 18:49:48 CDT 2007


On Thu, May 31, 2007 at 07:39:24PM -0400, The Editor wrote:
> On 5/31/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Thu, May 31, 2007 at 01:53:46PM -0700, Martin Fick wrote:
> > > --- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:
> > > Well, from here:
> > >
> > > http://www.regular-expressions.info/email.html
> 
> The link above was quite interesting reading. No clue my simple
> question would generate such interesting discussion.
> 
> For my purposes, however, the double slash solved the basic problem.
> I'm curious why the single slash did not escape the dot while the
> double slash did. Can any one explain that?

I can't explain it without seeing the original code, but this
is partially why I _always_ use double-slashes in my strings when
I want to make sure there's a slash in the result.

Pm



More information about the pmwiki-devel mailing list