]> git.imager.perl.org - bse.git/commit
allow .replace to replace with a block
authorTony Cook <tony@develop-help.com>
Fri, 4 Dec 2015 05:57:49 +0000 (16:57 +1100)
committerTony Cook <tony@develop-help.com>
Fri, 4 Dec 2015 05:57:49 +0000 (16:57 +1100)
commit105ac913a0beb149541e85f7a4141a2e1d6b6778
tree6dfa6c6341e516a7a82548b944a5209f4289b336
parenta3faa272a24e537af7a2610388da422983129f03
allow .replace to replace with a block

Included named matches to the match result "object", we don't get
offsets so just have the text field for named matches.

Add "text" to the match object, sub expressions.
site/cgi-bin/modules/Squirrel/Template/Expr/WrapScalar.pm
t/020-templater/040-original.t