On Fri, May 25, 2001 at 01:38:30PM -0400, Jeff Pinyan wrote: > On May 25, David H. Adler said: > > >On Fri, May 25, 2001 at 10:21:38AM -0400, Jeff Pinyan wrote: > >> I tried for an hour and a half or so to craft a regex that matches itself, > >> and ONLY itself. > >> > >> I came up with nothing -- well, several dead ends at least. > > > >I notice that you didn't put any further constraints. How about just a > >literal string? > > > >$regex = 'HEY'; > > > >Or did I miss something? > > That matches "THEY". The regex must ONLY MATCH ITSELF. No other text > should match it. Yeah, I figured that out *just* after sending... *sigh* dha -- David H. Adler - <dha@panix.com> - http://www.panix.com/~dha/ It's so hot that my color-change Crazy Straws don't change color anymore. - Allison Drennan ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe