mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +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
|
// invalid after regex_match returns, since it is then
|
||||||
// being given a temporary object. (Thanks to Georg for
|
// being given a temporary object. (Thanks to Georg for
|
||||||
// figuring that out.)
|
// figuring that out.)
|
||||||
regex const link_re("^([a-z]+):.*");
|
regex const link_re("^(([a-z]+):|www\.).*");
|
||||||
smatch matches;
|
smatch matches;
|
||||||
string const c = to_utf8(lowercase(content));
|
string const c = to_utf8(lowercase(content));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user