[Prev][Next][Index][Thread]

Re: Simple Reader Macros for Dylan



In article <uHQ9OBz++ShZtmOpIV4MQd6xOl1p@4ax.com>, jason@fun-o.com wrote:

> However, this would mean that you couldn't use balanced pairs of 'opposite'
> characters like '(' and ')' unless the you extended Perl's notion of "another
> one" to include opposites.

Uh, Perl already did that.

[bruce@hp bruce]$ perl -e '($x = "hello there") =~ s(lo)[zz]; print "$x\n"'
helzz there

-- Bruce



Follow-Ups: References: