Skip to content

Commit

Permalink
links rule, fix Alexey-T/CudaText#2678
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Jun 19, 2020
1 parent 559353d commit ee0c355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atsynedit/atsynedit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ TATCaretProps = class

cUrlRegex_Email = '\b(mailto:)?\w[\w\-\.]*@\w[\w\-\.]*\.\w{2,}\b';
cUrlRegex_WebBegin = 'https?://|ftp://|magnet:\?|www\.|ftp\.';
cUrlRegex_Web = '\b(' + cUrlRegex_WebBegin + ')\w[\w\.\-\/]*(\?[^<>''"\s]+)?(\#\w*)?'; //various chars allowed only after path+'?'
cUrlRegex_Web = '\b(' + cUrlRegex_WebBegin + ')\w[\w\.\-\/@]*(\?[^<>''"\s]+)?(\#\w*)?'; //various chars allowed only after path+'?'
cUrlRegexInitial = cUrlRegex_Email + '|' + cUrlRegex_Web;

cTextEditorLocked: string = 'Wait...';
Expand Down

0 comments on commit ee0c355

Please sign in to comment.