Timothy Johnson wrote: > > m/(^.+\.gif|^.+\.jpg)/ > > which would still be wrong, because you can't put anchors and such in a > regex, but if we move everything except the characters we want to compare > out of the (|), we get:
Actually, you can put anchors in a regular expression. Your example above is a valid regular expression in Perl. John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]