Don't ask how I come up with these. Just bear with me. /abc(?#comment)+/ is a source of confusion. What should it be? Does the + quantify (pointlessly) the comment? Or the "c"? Which does Perl do?
Neither. It quantifies the abc as a whole. If you don't think this is a bug, then let me know; otherwise, P5P is going to hear from me. Probably with a patch, too.
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perl
hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;
Back to
Meditations