Index: ossp-pkg/var/TODO RCS File: /v/ossp/cvs/ossp-pkg/var/Attic/TODO,v rcsdiff -q -kk '-r1.14' '-r1.15' -u '/v/ossp/cvs/ossp-pkg/var/Attic/TODO,v' 2>/dev/null --- TODO 2002/02/28 08:48:44 1.14 +++ TODO 2002/02/28 11:08:27 1.15 @@ -1,10 +1,17 @@ OSSP var + o problem: + ${foo:s/^(.+)$/<\1>/} + -> fails with malformatted search & replace error because + it tries to parse the $ as a variable. + ${foo:s/^(.+)\$/<\1>/} + -> does not substitute because it leaves the \$ in the regex + and this no longer matches the end (instead it matches a dollar) + o generate internals into context o use internal context to carry information o document exception handling o document arithmetic expressions - o document loop construct --------------------------------------------------------------------- - Man braucht ein Schleifenkonstrukt, das über Arrays iteriert: