Skip to content

ignore trailing white-spaces in LINE_COLON_PATTERN#71985

Merged
bpasero merged 1 commit intomicrosoft:masterfrom
WaleedAshraf:issue-61831
Apr 9, 2019
Merged

ignore trailing white-spaces in LINE_COLON_PATTERN#71985
bpasero merged 1 commit intomicrosoft:masterfrom
WaleedAshraf:issue-61831

Conversation

@WaleedAshraf
Copy link
Contributor

@WaleedAshraf WaleedAshraf commented Apr 9, 2019

Closes #61831

Ignore trailing white-spaces when matching LINE_COLON_PATTERN
Added \s* pattern at the end of regex.

Updated regex:
LINE_COLON_PATTERN = /[#:\(](\d*)([#:,](\d*))?\)?\s*$/;

cc: @bpasero, @chrmarti

@bpasero bpasero merged commit 4f02d0a into microsoft:master Apr 9, 2019
@bpasero
Copy link
Member

bpasero commented Apr 9, 2019

Thanks

@bpasero bpasero self-assigned this Apr 9, 2019
@bpasero bpasero added this to the April 2019 milestone Apr 9, 2019
@WaleedAshraf WaleedAshraf deleted the issue-61831 branch April 9, 2019 10:17
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Quick opening a file with specific line/character numbers doesn't trim trailing whitespace

2 participants