8182611: extLink ignores text after first newline

Reviewed-by: ksrini
This commit is contained in:
Jonathan Gibbons 2017-06-20 13:43:43 -07:00
parent f9a9f88e7c
commit 13bee792f3

View File

@ -58,7 +58,7 @@ public class ExtLink implements Taglet {
static final String URL = "https://www.oracle.com/pls/topic/lookup?ctx=javase9&id=";
static final Pattern TAG_PATTERN = Pattern.compile("(\\s*)(?<name>\\w+)(\\s+)(?<desc>.*)");
static final Pattern TAG_PATTERN = Pattern.compile("(?s)(\\s*)(?<name>\\w+)(\\s+)(?<desc>.*)$");
/**
* Returns the set of locations in which the tag may be used.