-
Notifications
You must be signed in to change notification settings - Fork 37.6k
Description
- VS Code Version: 1.63.2
- OS Version: Window 10
Steps to Reproduce:
-
Open a file with the following content:
[
{
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
"ChmlCmplncInfoUUID": "0894ef45-8661-1ee8-b4de-722cc0233ee5",
"CmplRqRsltUUID": "0894ef45-7651-1edc-a0ee-91a120b281cb",
"Language": "RO",
"Language_Text": "Romanian",
"CmplRqVersName": "ADN 2021",
"ComplianceRequirement": "ADN",
"CmplRqRsltProcessingStatus": "IP",
"DngrsGoodMarkingLabelText": "MARKING3"
},
{
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
"ChmlCmplncInfoUUID": "0894ef45-8661-1ee8-b4de-722cc0233ee5",
"CmplRqRsltUUID": "0894ef45-7651-1edc-a0ee-91a120b281cb",
"Language": "HR",
"Language_Text": "Croatian",
"CmplRqVersName": "ADN 2021",
"ComplianceRequirement": "ADN",
"CmplRqRsltProcessingStatus": "IP",
"DngrsGoodMarkingLabelText": "MARKING3"
}
] -
Search with the regex pattern: "__metadata"[^}]*},
Result: Nothing is found.
Expected: The Search should find the following multiline content:
"__metadata": {
"id": "",
"uri": "",
"type": ""
},
To check if the regex pattern is correct i have matches if i use the same regex pattern on: https://regex101.com/