On Fri, 2 Jul 1999, Bernie Cosell wrote: > > /(^|[^o])men/i > > > > ...but that doesn't work. > > men at the beginning < > women at the beginning > > and your RE picked out just the three indicated, which seemed to me to be > exactly what you wanted. What would be an example of a string you wanted > matched that that RE missed, or conversely something you wanted skipped > that it matches? Hmm. It really didn't work for me. I just tried: perl -e 'print "men at the beginning" =~ /(^|[^o])men/i, "\n"' ...and it didn't match. To be honest, I can't think of any reason why it _shouldn't_ work, so perhaps this is a "bug" that was fixed in perl somewhere along the way? I'm using 5.004_04; perhaps you're using 5.005? ==== Want to unsubscribe from Fun With Perl? ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org