mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Add missing character when english is reversed
This commit is contained in:
parent
8887b8bbd8
commit
13abf6dd61
@ -129,7 +129,7 @@ public:
|
||||
|
||||
std::string ReverseLatinWords (const std::string & text)
|
||||
{
|
||||
std::regex re ("([a-zA-Z0-9.,-=_ \t()]{2,})");
|
||||
std::regex re ("([a-zA-Z0-9.,-=_@ \t()]{2,})");
|
||||
std::string out;
|
||||
std::string::const_iterator it = text.cbegin (), end = text.cend ();
|
||||
for (std::smatch match; std::regex_search (it, end, match, re);
|
||||
|
Loading…
x
Reference in New Issue
Block a user