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

Documentation - regex for log #121

Closed
freshcodemonger opened this issue Oct 26, 2018 · 1 comment
Closed

Documentation - regex for log #121

freshcodemonger opened this issue Oct 26, 2018 · 1 comment
Assignees
Milestone

Comments

@freshcodemonger
Copy link

I found the regex in the example given to be matching portions of code before _LOG statements.

I think a better regex would be:

statement {
name = 'log'
//start of line, any amount of whitespace then _LOG. minimal match before finding );
regexp = '^[\s]+_LOG\..*?\);'
}

@Alex-Vol-SV Alex-Vol-SV added this to the 2.2.3 milestone Oct 16, 2019
@Alex-Vol-SV Alex-Vol-SV self-assigned this Oct 16, 2019
@Alex-Vol-SV
Copy link
Collaborator

Updated documentation with suggested improved regex

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

No branches or pull requests

2 participants