mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
Adds corner case tests for pattern scanning
Adds new test cases to cover additional scenarios for pattern scanning, including tests for leading/trailing whitespace and spacing variations to ensure robustness.
This commit is contained in:
@@ -28,6 +28,7 @@ namespace omath
|
||||
start = end != pattern_string.end() ? std::next(end) : end;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (byte_str == "?" || byte_str == "??")
|
||||
{
|
||||
pattern.emplace_back(std::nullopt);
|
||||
|
||||
Reference in New Issue
Block a user