in reply to Re^2: Six uses for curlies?
in thread Six uses for curlies?

Actually, more than seven if you count the uses within regexen: (?{...}), and (??{...}) are two different types of extended patterns, plus quantification, though you could argue that the curlies function as code blocks within the extended regex patterns, though that's a difficult distinction. Disambiguation!, I knew I missed a good one.


Dave

Replies are listed 'Best First'.
Re^4: Six uses for curlies?
by ysth (Canon) on Jan 13, 2006 at 11:12 UTC
    I think that's cheating. Since those are just another example of {} delimiting code, I'd class those with the block category.