annotate tests/substring.ur @ 1924:b44138e6a3bf

Add activeHead tag. activeHead is similar to active but produces xhead instead of xbody
author Sergey Mironov <grrwlf@gmail.com>
date Fri, 06 Dec 2013 13:59:39 +0400
parents 20fe00fd81da
children
rev   line source
adamc@829 1 fun main () : transaction page = return <xml>
adamc@829 2 {[case String.split "abc{" #"{" of
adamc@829 3 None => "!"
adamc@829 4 | Some (pre, post) => pre ^ post]}
adamc@829 5 </xml>