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

feat: Extract phrases and emoticons [PT-188319600] [PT-188319636] #10

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

dougmartin
Copy link
Member

This updates the plugin to pass the full trimmed text when pattern matching text and then changes the word boundary metacharacters in the pattern to be optional if the text begins/ends with non-word characters.

This also adds a missing escape of any regex characters in the free form text and changes spaces to match multiple spaces.

Copy link
Member

@pjanik pjanik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍🏻

This updates the plugin to pass the full trimmed text when pattern matching text and then changes the word boundary metacharacters in the pattern to be optional if the text begins/ends with non-word characters.

This also adds a missing escape of any regex characters in the free form text and changes spaces to match multiple spaces and expands quotes to "smart" quotes.

Finally this also disables the word highlighting as this doesn't work for phrases or existing word list features.
@dougmartin dougmartin force-pushed the 188319600-add-phrase-extraction branch from eb47a62 to a5eea05 Compare October 1, 2024 14:05
@dougmartin dougmartin merged commit 0dfdde6 into master Oct 2, 2024
3 checks passed
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.

2 participants