mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
Improve plot titles and layout adjustments
This commit is contained in:
1 parent
8e777bd987
commit
aaecd846fd
19 files changed
+144
-54
No files matched your search
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <cctype>
|
||||
#include <charconv>
|
||||
#include <regex>
|
||||
|
||||
const std::string WHITESPACE = " \n\r\t\f\v";
|
||||
|
||||
@@ -259,3 +260,14 @@ int RiaStdStringTools::computeEditDistance( const std::string& x, const std::str
|
||||
// The distance between the two full strings as the last value computed.
|
||||
return T[m][n];
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::string RiaStdStringTools::removeHtmlTags( const std::string& s )
|
||||
{
|
||||
std::regex html_tags( "<.*?>" ); // Matches any HTML tag
|
||||
std::string result = std::regex_replace( s, html_tags, "" );
|
||||
|
||||
return result;
|
||||
}
|
||||
Reference in new issue
Block a user