mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix bug #12772
This commit is contained in:
parent
3895c79879
commit
4ed0312c51
@ -5396,7 +5396,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
// invalid after regex_match returns, since it is then
|
||||
// being given a temporary object. (Thanks to Georg for
|
||||
// figuring that out.)
|
||||
regex const link_re("^([a-z]+):.*");
|
||||
regex const link_re("^(([a-z]+):|www\.).*");
|
||||
smatch matches;
|
||||
string const c = to_utf8(lowercase(content));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user