On Mon, 2005-09-19 at 22:20 -0400, Andrew Overholt wrote: > http://www.advogato.org/person/msevior/diary.html?start=56 Unfortunately this code fails on problems in our regexp implementation: java.util.regex.PatternSyntaxException: At position 1 in regular expression pattern: quantifier (?*+{}) without preceding token (?s)<!--.*?--> ^ at java.util.regex.Pattern.<init> (Pattern.java:106) at java.util.regex.Pattern.compile (Pattern.java:143) at java.util.regex.Pattern.compile (Pattern.java:125) at java.lang.String.replaceAll (String.java:1254) at de.danielnaber.languagetool.Main.filterXML (Unknown Source) at de.danielnaber.languagetool.Main.getFilteredText (Unknown Source) at de.danielnaber.languagetool.Main.main (Unknown Source) I didn't try with jregexp yet. There are also problems with the included Swing GUI. Tom