Skip to content

Commit

Permalink
Fix extraneous space errors in MarkdownCommentTest
Browse files Browse the repository at this point in the history
  • Loading branch information
jjohnstn committed Dec 14, 2024
1 parent 89a670a commit d6e4924
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ private void init() {
fRenderer= HtmlRenderer.builder().extensions(extensions).build();
}

final static String PatternCommon= "[^\r\n&&\\s]*?///[^\r\n&&\\s]*?"; //$NON-NLS-1$
final static Pattern UnicodePattern= Pattern.compile("(\\\\u000[d,D]\\\\u000[a,A]|\\\\u000[a,A]|\\\\u000[d,D])" + PatternCommon); //$NON-NLS-1$
final static Pattern Pattern1= Pattern.compile("(\\r\\n?|\\n)" + PatternCommon); //$NON-NLS-1$
final static Pattern UnicodePattern= Pattern.compile("(\\\\u000[d,D]\\\\u000[a,A]|\\\\u000[a,A]|\\\\u000[d,D])[^\r\n&&\\s]*?///[^\r\n&&\\s]*?"); //$NON-NLS-1$
final static Pattern Pattern1= Pattern.compile("(\\r\\n?|\\n)[^\r\n&&\\s]*///[^\r\n&&\\s]*"); //$NON-NLS-1$

@Override
protected String removeDocLineIntros(String textWithSlashes) {
Expand Down

0 comments on commit d6e4924

Please sign in to comment.