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

MM-15965: cleaned up word boundary checks #67

Merged
merged 2 commits into from
Jul 12, 2019
Merged

MM-15965: cleaned up word boundary checks #67

merged 2 commits into from
Jul 12, 2019

Conversation

levb
Copy link
Contributor

@levb levb commented Jul 10, 2019

  • Using \b instead of a homebrewed word separator list
  • Since \b does not consume, removed the second pass ReplaceAll
  • Made tests more realistic by running MessageWillBePosted,
    to cover markdown inspection
  • Added word boundary tests
  • Cleanup

- Using `\b` instead of a homebrewed word separator list
- Since `\b` does not consume, removed the second pass ReplaceAll
- Made tests more realistic by running MessageWillBePosted,
  to cover markdown inspection
- Added word boundary tests
- Cleanup
@levb levb added the 2: Dev Review Requires review by a core committer label Jul 10, 2019
@levb levb requested review from crspeller, hanzei and cpoile and removed request for hanzei July 10, 2019 13:03
@crspeller crspeller merged commit 0d80f19 into mattermost-community:master Jul 12, 2019
@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Jul 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants