Mercurial > hg > AnnotationManager
view docs/testBook.jpage @ 22:0f4428febcc6
small cleanup
author | casties |
---|---|
date | Tue, 03 Apr 2012 11:28:08 +0200 |
parents | 77530be3c747 |
children |
line wrap: on
line source
Syntax error on token "",0,1))/range-to(end-point(string-range("", delete this token Pattern rg = Pattern.compile("#xpointer\\(start-point\\(string-range\\(\"([^\"]*)\",([^,]*),1\\)\\)/range-to\\(end-point\\(string-range\\(\"([^\"]*)\",([^,]*),1\\)\\)\\)\\)"); Matcher m = rg.matcher("http://some.uri#xpointer(start-point(string-range(\"/p[69]/font/font\",0,1))/range-to(end-point(string-range(\"/p[70]/font/font\",120,1))))"); m.find(); System.out.println(m.group(4)); (No explicit return value)