Skip to content

Replace ugly regex with stem, stem find and sscanf #93

@MaKiPL

Description

@MaKiPL
std::string stem = std::filesystem::path(LastFilePath).stem().string();
stem.find("c0m")
if (sscanf(stem.c_str(), "c0m%d_%d", &a, &b))

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions