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

regex error #279

Open
lrc8000 opened this issue Jun 22, 2020 · 1 comment
Open

regex error #279

lrc8000 opened this issue Jun 22, 2020 · 1 comment

Comments

@lrc8000
Copy link

lrc8000 commented Jun 22, 2020

When I use the below regular expression, it works in Sublime but didn't work in glogg.

r= '(?s)^[\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{6}]\s[N]\s[Devproxy.cpp\s732(.?)21200888]\s$'

in Sublime
image

in glogg
image

@variar
Copy link
Contributor

variar commented Jul 6, 2020

Released versions of glogg use QRegExp for matching. Looks like lookahead syntax should be (?=s).

The regex works as is in QRegularExpression based builds from master branch as well as in klogg fork.

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