Commit 5a65686a authored by scuq's avatar scuq

fixed some urls - regex

parent 329c9b01
Pipeline #404 passed with stage
in 53 seconds
......@@ -566,7 +566,7 @@ void dialogChat::insertText(QString datetime, QString text, QString usernamestr)
QRegExp regExp("((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[\\-;:&=\\+\\$,\\w]+@)?[A-Za-z0-9\\.\\-]+|(?:www\\.|[\\-;:&=\\+\\$,\\w]+@)[A-Za-z0-9\\.\\-]+)((?:\\/[\\+~%\\/\\.\\w\\-]*)?\\??(?:[\\-\\+=&;%@()\\.\\w]*)#?(?:[\\.\\!\\/\\\\\\w]*))?)");
QRegExp regExp("((([A-Za-z]{3,9}:(?:\\/\\/)?)(?:[\\-;:&=\\+\\$,\\w]+@)?[A-Za-z0-9\\.\\-]+|(?:www\\.|[\\-;:&=\\+\\$,\\w]+@)[A-Za-z0-9\\.\\-]+)((?:\\/[\\+~%\\/\\.\\w\\-]*)?\\??(?:[\\-\\+=&;%@()\\.\\w]*)#?(?:[\+\-\?\=\%\;\&\\.\\!\\/\\\\\\w]*))?)");
QString textout;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment