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

Fix regex in mustMatch and mustNotMatch examples #872

Merged
merged 1 commit into from Sep 17, 2021

Conversation

cascornelissen
Copy link
Contributor

@cascornelissen cascornelissen commented Aug 5, 2021

The $ character is used to assert the end of the line and the examples show strings that start with a specific word for which the ^ character should be used.

Copy link
Collaborator

@G-Rath G-Rath left a comment

Choose a reason for hiding this comment

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

Whoops yea thats my bad - I'm always getting them mixed up 😅

The `$` character is used to assert at the end of the line and the examples show strings
that start with a specific word for which the `^` character should be used.
@cascornelissen
Copy link
Contributor Author

cascornelissen commented Aug 6, 2021

No problem at all, just confused me for a little while 😅 I think I've fixed the commit message/description now ✌🏼

@SimenB SimenB merged commit 46ac6fc into jest-community:main Sep 17, 2021
@github-actions
Copy link

🎉 This PR is included in version 24.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 25.0.0-next.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants