File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ result; // "wow <a href=\"http://test.com\">http://test.com</a> such linked"
69
69
Features
70
70
--------
71
71
72
- ### Qualified URL extraction
72
+ ### URL extraction
73
73
74
74
Extracts URLs of the form ` scheme://example ` with any scheme. URIs such
75
75
as ` example:test ` are not matched (may be added as an option in the future).
@@ -93,11 +93,11 @@ Example input and linked result:
93
93
94
94
Also see [ test cases] ( src/test/java/org/nibor/autolink/AutolinkUrlTest.java ) .
95
95
96
- ### Simple link extraction
96
+ ### WWW link extraction
97
97
98
- Extract links not fully qualified URLs but still somewhat valid of the form ` www.example.com ` .
98
+ Extract links not starting with ` scheme:// ` but just starts with ` www. ` such as ` www.example.com ` .
99
99
100
- The same heuristics applies as for the URL extraction.
100
+ The same heuristics apply as for the URL extraction.
101
101
102
102
Examples:
103
103
@@ -110,7 +110,7 @@ Not supported:
110
110
* Uppercase ` www ` 's, e.g. ` WWW.example.com ` and ` wWw.example.com `
111
111
* Too many or too few ` w ` 's, e.g. ` wwww.example.com `
112
112
113
- At least one TLD is required, but multiple are allowed so ` www.something.co.uk ` is valid .
113
+ The domain must have at least 3 parts, so ` www.com ` is not valid, but ` www.something.co.uk ` is.
114
114
115
115
Also see [ test cases] ( src/test/java/org/nibor/autolink/AutolinkWwwTest.java ) .
116
116
You can’t perform that action at this time.
0 commit comments