Skip to content

Commit

Permalink
Restored group in domain matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
psmyrek committed Mar 17, 2021
1 parent f876ca4 commit c426a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ckeditor5-link/src/autolink.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const URL_REG_EXP = new RegExp(
'(' +
'(www.|(\\S+@))' +
// Host & domain names.
'(?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.)+' +
'((?![-_])(?:[-_a-z0-9\\u00a1-\\uffff]{1,63}\\.))+' +
// TLD identifier name.
'(?:[a-z\\u00a1-\\uffff]{2,63})' +
')' +
Expand Down

0 comments on commit c426a24

Please sign in to comment.