Skip to content

Conversation

aikaterna
Copy link
Contributor

On horo and chinese horo commands, the date regex was returning a lot of html prepended on the date, causing the response to be over 4000 chars. I added a separate date regex and simplified the original regex for finding the horoscope. Granted I'm not a regex pro by any means so feel free to adjust this PR if you accept it. Seemed to work fine in all my testing of various astral signs and chinese signs.

On horo and chinese horo commands, the date regex was returning a lot of html prepended on the date, causing the response to be over 4000 chars. I added a separate date regex and simplified the original regex for finding the horoscope. Granted I'm not a regex pro by any means so feel free to adjust this PR if you accept it. Seemed to work fine in all my testing of various astral signs and chinese signs.
@aikaterna aikaterna closed this by deleting the head repository Oct 27, 2023
@aikaterna
Copy link
Contributor Author

Superceded by #66

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

Successfully merging this pull request may close these issues.

1 participant