>>>>> "JB" == Juanma Barranquero <barranquero@laley-actualidad.es> writes: JB> On 21 Jun 1999 11:16:09 -0400, Chaim Frenkel wrote: >> Why use a regular expression what's wrong with doing it >> directly with index? JB> Nothing wrong. Just that it is the kind of problem that seems like it JB> should be pretty easy to do with regexes. I'd agree with you if the _pattern_ were more complex than fixed strings. Hmm, Since the replacement text must be unique in the document after replacement, then what about s/$orig/$tla/g; s/$tla/$orig ($tla)/; <chaim> -- Chaim Frenkel Nonlinear Knowledge, Inc. chaimf@pobox.com +1-718-236-0183 ==== Want to unsubscribe from this list? (Don't you love us anymore?) ==== Well, if you insist... Send mail with body "unsubscribe" to ==== fwp-request@technofile.org