Prefer std::regex, and modern C++ string search

This commit is contained in:
Robin Gareus
2025-11-11 19:04:16 +01:00
parent 7eb92253c6
commit f6a2ee0103
10 changed files with 59 additions and 114 deletions

View File

@@ -18,7 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <regex.h>
#include <sys/mman.h>
#include <sys/time.h>

View File

@@ -17,7 +17,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <regex.h>
#include <sys/mman.h>
#include <sys/time.h>

View File

@@ -21,7 +21,6 @@
#include <math.h>
#include <sys/time.h>
#include <regex.h>
#include <stdlib.h>
#include <glibmm.h>

View File

@@ -18,8 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <regex.h>
#ifndef PLATFORM_WINDOWS
#include <sys/mman.h>
#include <sys/time.h>

View File

@@ -17,7 +17,6 @@
*/
#include <math.h>
#include <regex.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/time.h>