Skip to content

Fixed problem where match string contain special characters - #18878

Merged
Kartik Raj (karrtikr) merged 9 commits into
microsoft:mainfrom
sunyinqi0508:main
Apr 11, 2022
Merged

Kartik Raj (karrtikr) merged 9 commits into
microsoft:mainfrom
sunyinqi0508:main

Conversation

@sunyinqi0508

@sunyinqi0508 sunyinqi0508 commented Apr 7, 2022 •

Copy link
Copy Markdown

Closes #18829

@karrtikr Kartik Raj (karrtikr) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks for the PR! Please add a news entry thanking yourself (see news/README.md for details).

Comment thread src/client/common/process/logger.ts Resolved
@ghost

Deleted user (ghost) commented Apr 8, 2022 •

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

Comment thread src/client/common/process/logger.ts Resolved
@karrtikr Kartik Raj (karrtikr) added the skip tests Updates to tests unnecessary label Apr 9, 2022
@karrtikr Kartik Raj (karrtikr) self-assigned this Apr 9, 2022

@karrtikr Kartik Raj (karrtikr) left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thanks again for investigating the cause, this could potentially fix a lot of ongoing issues like #18567 #18478 #18437!

@karrtikr
Kartik Raj (karrtikr) merged commit 5932e99 into microsoft:main Apr 11, 2022
Wes McKinney (wesm) pushed a commit to posit-dev/positron that referenced this pull request Mar 28, 2024
…t/vscode-python#18878)

* Fixed problem where match string contain special characters

* Fixes issue where () and | are escaped for windows

* Fixed a problem when some characters are not escaped.
Added Credits.

* Update src/client/common/process/logger.ts

Simplify code.

Co-authored-by: Kartik Raj <karraj@microsoft.com>

* Only replace '\\' with '(\\|/)' on Windows to save a scan on other OSs.

* Update src/client/common/process/logger.ts

Co-authored-by: Kartik Raj <karraj@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip tests Updates to tests unnecessary

3 participants