-
Notifications
You must be signed in to change notification settings - Fork 556
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
bad escape \s in Drain.py #84
Comments
Already included in several pull requests. |
works with drain same issue with |
I think for spell it's pretty much the same, there should be a line similar to the one shown above and when you fill in the |
Thanks for reply but I even tried to change drain parameter code with spell does not works....even tried to change concerning line as well....spell keeps working for days but does not bring any output |
So i looked it up and from the syntax point of view you only have to change line 312 in Spell.py from
to
|
I have already tried this one, this works but only parameters extraction does not work however it works some other part of dataset but on some dataset having same size does not extract parameters. |
Okay, unfortunately I can't help you with this problem but i hope you'll find a fix for that! |
When running the demo script for drain to following error occures:
re.error: bad escape \s at position 2
Changing line 339 in Drain.py from
template_regex = re.sub(r'\\ +', r'\s+', template_regex)
to
template_regex = re.sub(r'\\ +', r'\\s+', template_regex)
fixed the problem for me.
The text was updated successfully, but these errors were encountered: