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

(MODULES-8584) Handle multiple escaped quotes in comments properly #815

Conversation

mateusz-gozdek-sociomantic

No description provided.

@mateusz-gozdek-sociomantic mateusz-gozdek-sociomantic force-pushed the comments-espace-sequences branch 2 times, most recently from 4027da2 to 7969d16 Compare February 1, 2019 23:00
table: 'filter',
params: {
name: '000 parse escaped "s, \'s, and \\s',
name: '000 parse escaped "s, "s, \'s, \'s, \\s and \\s',
Copy link
Member

Choose a reason for hiding this comment

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

Why did you double up each of these?

Choose a reason for hiding this comment

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

To make sure we handle one or more escaped quotes. As my regexp was fine for one escaped ", but not for more, which was the case. I can add it as a separated test if you like.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, I'm an idiot. Need to stop reviewing first thing on a monday. Will make an adhoc run, and if it passes will merge.

Choose a reason for hiding this comment

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

Haha, cheers!

@david22swan

This comment has been minimized.

@david22swan
Copy link
Member

screen shot 2019-02-05 at 11 03 09 am

Sorry for the delay. Anyway looks good to me

@david22swan david22swan merged commit 09f8798 into puppetlabs:master Feb 5, 2019
@david22swan
Copy link
Member

@mateusz-gozdek-sociomantic Thanks for putting in the work :)

@mateusz-gozdek-sociomantic mateusz-gozdek-sociomantic deleted the comments-espace-sequences branch February 5, 2019 11:34
@mateusz-gozdek-sociomantic
Copy link
Author

Thanks for quick feedback!

@tphoney tphoney added the bugfix label Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants