Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

日志库对%%解析有BUG #26

Open
OutcastWis opened this issue May 25, 2022 · 1 comment
Open

日志库对%%解析有BUG #26

OutcastWis opened this issue May 25, 2022 · 1 comment

Comments

@OutcastWis
Copy link

解析%%%p%%会失败.
应该在判断%%成功后, 使++i

if ((i + 1) < pattern_.size())
{
    if (pattern_[i + 1] == '%')
    {
            nstr.append(1, '%');
            ++i;
            continue;
    }
}
@KkemChen
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants