Title: Account for curly quotes in syntax definition. · Issue #141 · PowerShell/EditorSyntax · GitHub
Open Graph Title: Account for curly quotes in syntax definition. · Issue #141 · PowerShell/EditorSyntax
X Title: Account for curly quotes in syntax definition. · Issue #141 · PowerShell/EditorSyntax
Description: Confirmed using different themes. Environment Editor and Version (VS Code, Atom, Sublime): VS Code Your primary theme: Abyss Issue Description When I use a regular expression that contains a ' then the display will treat it as the beginn...
Open Graph Description: Confirmed using different themes. Environment Editor and Version (VS Code, Atom, Sublime): VS Code Your primary theme: Abyss Issue Description When I use a regular expression that contains a ' then...
X Description: Confirmed using different themes. Environment Editor and Version (VS Code, Atom, Sublime): VS Code Your primary theme: Abyss Issue Description When I use a regular expression that contains a ' ...
Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/141
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Account for curly quotes in syntax definition.","articleBody":"\u003c!--\r\nBEFORE SUBMITTING A NEW ISSUE...\r\n\r\nPlease try a different theme to make sure the problem\r\nis not with the theme and is actually with the syntax.\r\n\r\nIf you are not reporting a bug please remove this template\r\nand describe the issue in your own words.\r\n-->\r\nConfirmed using different themes.\r\n\r\n### Environment\r\n\r\n- Editor and Version (VS Code, Atom, Sublime): VS Code\r\n- Your primary theme: Abyss\r\n\r\n### Issue Description\r\n\r\nWhen I use a regular expression that contains a ' then the display will treat it as the beginning, or end, of a test string. The color coding in all themes tests shows all the code as a text string until it encounters another '.\r\n\r\n#### Screenshots\r\n\r\n\u003c!-- If possible include screenshots of the issue -->\r\n\r\n\r\n\r\n### Expected Behavior\r\n\r\n\u003c!-- How would you expect it to behave -->\r\n\r\n\r\n### Code Samples\r\n\r\n\u003c!--\r\nInclude any code sippets that can be used to reproduce the\r\ndescribed behavior.\r\n-->\r\nParam (\r\n # User account to be modified, this can be any value that Get-ADUser will accept\r\n [Parameter(Mandatory=$true)]\r\n $User,\r\n [Parameter(Mandatory=$true)]\r\n [Int32]$TicketNumber,\r\n # New last name of the person\r\n [ValidatePattern(“^[-'a-z]*$”)]\r\n [Parameter(Mandatory=$true)]\r\n $NewLastName,\r\n # User's middle name\r\n [ValidatePattern(“^[-'a-z]*$”)]\r\n $NewMiddleName,\r\n # User's new first name,\r\n [ValidatePattern(“^[-'a-z]*$”)]\r\n $NewFirstName,\r\n # Defines how many characters from the first name will be used. Default is 1.\r\n [Int32]$AlternateAliasFirstNameLength = 1,\r\n # For manually specifing the Display Name\r\n [string]$DisplayName,\r\n [Parameter(DontShow)]\r\n [ValidateSet($True,$False)]\r\n [switch]$Approved = $false\r\n )\r\n```PowerShell\r\n\r\n\r\n```\r\n","author":{"url":"https://github.com/PwshPally","@type":"Person","name":"PwshPally"},"datePublished":"2018-08-24T17:35:13Z","url":"https://github.com/PowerShell/EditorSyntax/issues/141"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:460a5e62-176e-5716-03e3-b6e577a7e9e7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C71A:701CA:262626:35DAD5:6AFE1B23 |
| html-safe-nonce | d8976d9ef1b8cab381c1afdeec25a192483d78975c6fb9981a4096128212d3c1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzFBOjcwMUNBOjI2MjYyNjozNURBRDU6NkFGRTFCMjMiLCJ2aXNpdG9yX2lkIjoiNDY4MDU1MTM5NTk3Mjk0MzcyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7bd3d74a4ba4c11e5f01ea027c103afea00c7388badfe2734bc875b76f85aa54 |
| hovercard-subject-tag | issue:353868555 |
| 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/PowerShell/EditorSyntax/141/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c91dfcb1b2d02675f5f5d8af3b1d880313c327e8a4305023bec642bd33fa3c4/PowerShell/EditorSyntax/issues/141 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c91dfcb1b2d02675f5f5d8af3b1d880313c327e8a4305023bec642bd33fa3c4/PowerShell/EditorSyntax/issues/141 |
| og:image:alt | Confirmed using different themes. Environment Editor and Version (VS Code, Atom, Sublime): VS Code Your primary theme: Abyss Issue Description When I use a regular expression that contains a ' then... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PwshPally |
| hostname | github.com |
| expected-hostname | github.com |
| None | d0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/EditorSyntax git https://github.com/PowerShell/EditorSyntax.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 59601299 |
| octolytics-dimension-repository_nwo | PowerShell/EditorSyntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 59601299 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/EditorSyntax |
| 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 | fef3993a71fa20f7be8e167132fbf9619bc66e12 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width