in reply to Re: Re: Regular Expression gotchas ?
in thread Regular Expression gotchas ?

I think that I have a pretty good understanding of basic perl and programming theories.
If you think 'FILE.gpg' and 'FILE.pgp' are "identical data", then I would have to dispute your claim.

Furthermore, do you realize that m/\Q\E/ matches everything, and thus that
$expected_sender = ''; if ( $signer =~ /\Q$expected_sender\E/ )
will always be true?

It is entirely unclear why/how your section 1 and section 2 could be related. Since you "know" that they are, you have useful information which you're not sharing. Do you want us to help, or not?

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.

Replies are listed 'Best First'.
Re: Re: Re: Re: Regular Expression gotchas ?
by the_Don (Scribe) on Feb 17, 2003 at 16:00 UTC

    It appears that section 1 and section 2 are indeed related. Please see the replies below for an explanation.

    Many thanks to Hugo.

    the_Don
    ...making offers others can't rufuse.