-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issue with name contains space #2
Comments
Hi, this is a known bug and was written in the Q&A.
Unfortunately, this problem is actually really complicated and I can't fix it easily. |
how about try to split with tab instead of space in #206, like
line's name seems can't have tab, tab would convert to single space |
Hi @j620656786206 , Thank you for the idea and thanks for reading my spaghetti code lul. Unfortunately, the problem here is not how we are splitting the message. For example
For the first three messages. But for the fourth message, I will get And there could be a lot of space in between a name, so the only solution I could come up is to assume that there's no space in a name. |
Hello @chonyy,
I assume you can parse the lines without problem, you can get the lines in arrays, like
and if you split each line with tab regex
And the rest part shouldn't be a problem, please correct me if I misunderstood the problem |
@j620656786206 |
If the user name has space, "貼圖" would be treated as normal message.
And have the wrong calculation.
The text was updated successfully, but these errors were encountered: