11 lines
311 B
C++
11 lines
311 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class Lexer
|
|
{
|
|
public:
|
|
// e.g. Pattern [@](@) returns <source, tag> for input: [source](tag) and delimiter @
|
|
static bool matchPattern(const std::string& pattern, const std::string& checkString, char delimiter, std::vector<std::string>& hitSequence);
|
|
};
|