USING: combinators kernel namespaces quotations regexp sequences
-xml.data xml.traversal ;
+splitting xml.data xml.traversal ;
IN: xmode.utilities
: implies ( x y -- z ) [ not ] dip or ; inline
over [ (init-from-tag) ] dip ; inline
: <?insensitive-regexp> ( string ? -- regexp )
+ ! handle Java style case-insensitive flags
+ "(?i)" pick subseq-start [ drop "(?i)" "" replace t ] when
"i" "" ? <optioned-regexp> ;