File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,8 @@ Also see [test cases](src/test/java/org/nibor/autolink/AutolinkUrlTest.java).
77
77
78
78
### Email address extraction
79
79
80
- Extracts emails such as ` foo@example.com ` . Doesn't support quoted local parts
81
- such as ` "this is sparta"@example.com ` . Matches international email addresses,
82
- but doesn't verify the domain name (may match too much).
80
+ Extracts emails such as ` foo@example.com ` . Matches international email
81
+ addresses, but doesn't verify the domain name (may match too much).
83
82
84
83
Examples:
85
84
@@ -88,6 +87,14 @@ Examples:
88
87
* ` foo@example.com, ` → [ foo@example.com ] ( ) ,
89
88
* ` üñîçøðé@üñîçøðé.com ` → [ üñîçøðé@üñîçøðé.com] ( )
90
89
90
+ Not supported:
91
+
92
+ * Quoted local parts, e.g. ` "this is sparta"@example.com `
93
+ * Address literals, e.g. ` foo@[127.0.0.1] `
94
+
95
+ Note that the domain part can be a single top-level domain (e.g.
96
+ ` foo@com ` ). If this is not wanted, filter the resulting links.
97
+
91
98
Also see [ test cases] ( src/test/java/org/nibor/autolink/AutolinkEmailTest.java ) .
92
99
93
100
Contributing
You can’t perform that action at this time.
0 commit comments