On May 13, Jeff Pinyan said:
> if (/(?:^|\@)(\S+)/) {
I had a precedence error in my code here. That regex will match at the
beginning of the line every time. It should be:
if (/\@(\S+)/ or /(\S+)/) {
# ...
}
Sigh. And I'm writing a book about these. I should get my act
together. ;)
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734