-
-
Save oppahero/6125dcb1ad6f6a18b2289324284982ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
match = regex_text.match(data); | |
if(match.hasMatch()){ | |
//update chat display | |
ui->textEdit_ChatDisplay->append(tr("<b>%1 <font color = \"LightGrey\">[%2]</font>: </b> %3") | |
.arg(match.captured(2),match.captured(1),match.captured(3))); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment