Skip to content

Regex fix to replace correctly quotes that contain apostrophes#152

Open
pierrethibault wants to merge 2 commits intohplgit:masterfrom
pierrethibault:quote_fix
Open

Regex fix to replace correctly quotes that contain apostrophes#152
pierrethibault wants to merge 2 commits intohplgit:masterfrom
pierrethibault:quote_fix

Conversation

@pierrethibault
Copy link
Contributor

I am not a regex pro. It seems to me that ``(.+?)'' is better than ``([^']+?)'' because it allows for apostrophes within the quotes. I hope I'm not missing anything obvious.

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