Skip to content

Update index.rst regex matching file extensions fix #1011

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

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Update index.rst regex matching file extensions fix #1011

merged 1 commit into from
Jul 17, 2023

Conversation

gpetraroli
Copy link
Contributor

/\.(j|t)sx?$/. It seems to be using double backslashes (\) to escape the dot (.) character, which is not necessary. The correct way to escape the dot character in a regular expression is by using a single backslash (), like this: /.(j|t)sx?$/.

 /\\.(j|t)sx?$/. It seems to be using double backslashes (\\) to escape the dot (.) character, which is not necessary. The correct way to escape the dot character in a regular expression is by using a single backslash (\), like this: /\.(j|t)sx?$/.
@weaverryan
Copy link
Member

Thanks! This is what we had before - but something was lost in translation when moving it to the recipe. I appreciate you catching that!

@weaverryan weaverryan merged commit 53c08ca into symfony:2.x Jul 17, 2023
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