Mercurial > urweb
view tests/substring.ur @ 1330:452b14d88a10
fix small memory leaks
author | Marc Weber <marco-oweber@gmx.de> |
---|---|
date | Sun, 05 Dec 2010 18:47:54 +0100 |
parents | 20fe00fd81da |
children |
line wrap: on
line source
fun main () : transaction page = return <xml> {[case String.split "abc{" #"{" of None => "!" | Some (pre, post) => pre ^ post]} </xml>