Title: Wrong highlight for raw string · Issue #259 · MagicStack/MagicPython · GitHub
Open Graph Title: Wrong highlight for raw string · Issue #259 · MagicStack/MagicPython
X Title: Wrong highlight for raw string · Issue #259 · MagicStack/MagicPython
Description: Editor name and version: VS Code 1.81.1 Platform: any Color scheme: any MagicPython version: 7d0f2b2 A sreenshot: Expected Actual: The \ of a raw string is the \ and not the escape character, but the hignlight still treats them as escape...
Open Graph Description: Editor name and version: VS Code 1.81.1 Platform: any Color scheme: any MagicPython version: 7d0f2b2 A sreenshot: Expected Actual: The \ of a raw string is the \ and not the escape character, but t...
X Description: Editor name and version: VS Code 1.81.1 Platform: any Color scheme: any MagicPython version: 7d0f2b2 A sreenshot: Expected Actual: The \ of a raw string is the \ and not the escape character, but t...
Opengraph URL: https://github.com/MagicStack/MagicPython/issues/259
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong highlight for raw string","articleBody":"\u003c!--\r\nThanks for wanting to report an issue you've found in MagicPython.\r\nIf this is a bug report, then please fill in the template below.\r\n\r\nThank you!\r\n--\u003e\r\n\r\n* **Editor name and version**: VS Code 1.81.1\r\n* **Platform**: any\r\n* **Color scheme**: any\r\n* **MagicPython version**: 7d0f2b22a5ad8fccbd7341bc7b7a715169283044\r\n* **A sreenshot**:\r\nExpected\r\n\r\n\r\nActual: The `\\` of a raw string is the `\\` and not the escape character, but the hignlight still treats them as escapes.\r\n\r\n\r\n* **5-10 lines of surrounding code**:\r\n```python\r\nprint(r\"C:\\Users\\test\")\r\n```\r\n\r\nOriginally from @AuroraTea in https://github.com/microsoft/vscode/issues/190519","author":{"url":"https://github.com/alexr00","@type":"Person","name":"alexr00"},"datePublished":"2023-08-16T14:24:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/259/MagicPython/issues/259"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02a292f9-8ee9-75f8-18b7-602d5be29c6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD38:323DE1:22C42F:2FB5B1:696E6CF5 |
| html-safe-nonce | 1108f382c51dbb0461d77bbeecb0a67b3fcd2ecd35caa881306fabca291b1c65 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDM4OjMyM0RFMToyMkM0MkY6MkZCNUIxOjY5NkU2Q0Y1IiwidmlzaXRvcl9pZCI6IjgxMDE5OTgxOTgzODIyOTIyMTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4af0c4a573973cb22c989f8f70806a6c53215681f0740e28086201f94d7a8811 |
| hovercard-subject-tag | issue:1853358271 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/MagicStack/MagicPython/259/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7abdc779aae38419b0d5b128cfe8298e585ac5e88e77224da72e1eedf3251c65/MagicStack/MagicPython/issues/259 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7abdc779aae38419b0d5b128cfe8298e585ac5e88e77224da72e1eedf3251c65/MagicStack/MagicPython/issues/259 |
| og:image:alt | Editor name and version: VS Code 1.81.1 Platform: any Color scheme: any MagicPython version: 7d0f2b2 A sreenshot: Expected Actual: The \ of a raw string is the \ and not the escape character, but t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexr00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | dd24262d9e4947a6c63df018b01e9a6da49caaf8259148a56a04b665d15d66b3 |
| turbo-cache-control | no-preview |
| go-import | github.com/MagicStack/MagicPython git https://github.com/MagicStack/MagicPython.git |
| octolytics-dimension-user_id | 14324950 |
| octolytics-dimension-user_login | MagicStack |
| octolytics-dimension-repository_id | 43982620 |
| octolytics-dimension-repository_nwo | MagicStack/MagicPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 43982620 |
| octolytics-dimension-repository_network_root_nwo | MagicStack/MagicPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 307ab96ec5f21762ff6c530a60b1ef6b1e74dd5a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width