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

#1: Fix Emoticon Conversion Logic #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

TheFoot
Copy link

@TheFoot TheFoot commented Oct 7, 2024

Summary: This pull request addresses the following changes:

Fix Emoticon Conversion Logic:

Emoticon to emoji conversion now respects boundaries (preceding and following non-space characters).
Introduced a regular expression to ensure emoticons are only replaced when surrounded by spaces or string boundaries.
Refactored #getNumberOfEmoticons and #replaceAllWithEmoji to use the new regex for accurate matching and replacement.

Remove .idea Folder:

Removed the accidentally committed .idea folder from the repository.
Added .idea/ to the .gitignore file to prevent future accidental commits of IDEA IDE configuration files.

Fixes:

Resolves issue #1 related to incorrect conversion of inline emoticons.

Additional Changes:

Updated .gitignore file to ignore the .idea/ folder.

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