At 11:36 AM -0400 9/8/99, Ronald J Kimball wrote: >Are we talking actual _regular_ expressions here? I think Task 3 would be >quite simple using positive lookahead assertions. Please elucidate. At 12:04 PM -0400 9/8/99, WORENKLEIN, David, GCM wrote: >Hint: #3 is just as easy as #1 and #2. This is the approach I suggested, but note that it does not solve the problem with _a_ regular expression (it uses two...). My friend's solution, BTW, required crafting a small state machine and then translating it into an RE... -r -- Rich Morin: rdm@cfcl.com, +1 650-873-7841, http://www.ptf.com/~rdm Prime Time Freeware: info@ptf.com, +1 408-433-9662, http://www.ptf.com MacPerl: http://www.macperl.com, http://www.ptf.com/ptf/products/MPPE MkLinux: http://www.mklinux.apple.com, http://www.ptf.com/ptf/products/MKLP ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe