Skip to content

Horoscope - Fix date text#64

Closed
aikaterna wants to merge 1 commit into
Aioxas:V3from
aikaterna:patch-1
Closed

Horoscope - Fix date text#64
aikaterna wants to merge 1 commit into
Aioxas:V3from
aikaterna:patch-1

Conversation

@aikaterna
Copy link
Copy Markdown
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
Copy Markdown
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