We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b90ff commit 8bec00cCopy full SHA for 8bec00c
1 file changed
richtextfx-demos/src/main/java/org/fxmisc/richtext/demo/XMLEditorDemo.java
@@ -19,7 +19,7 @@
19
public class XMLEditorDemo extends Application {
20
21
private static final Pattern XML_TAG = Pattern.compile("(?<ELEMENT>(</?\\h*)(\\w+)([^<>]*)(\\h*/?>))"
22
- +"|(?<COMMENT><!--[^<>]+-->)");
+ +"|(?<COMMENT><!--(.|\\v)+?-->)");
23
24
private static final Pattern ATTRIBUTES = Pattern.compile("(\\w+\\h*)(=)(\\h*\"[^\"]+\")");
25
0 commit comments