René's URL Explorer Experiment


Title: Quoted strings/here-strings issues · Issue #167 · PowerShell/EditorSyntax · GitHub

Open Graph Title: Quoted strings/here-strings issues · Issue #167 · PowerShell/EditorSyntax

X Title: Quoted strings/here-strings issues · Issue #167 · PowerShell/EditorSyntax

Description: Adding to issue #143, Both double-quote and single-quote here-strings fail to tolerate trailing space on the opening line. Users might only notice the @ not highlighted, because regular quoted string still fires, but if any further quote...

Open Graph Description: Adding to issue #143, Both double-quote and single-quote here-strings fail to tolerate trailing space on the opening line. Users might only notice the @ not highlighted, because regular quoted stri...

X Description: Adding to issue #143, Both double-quote and single-quote here-strings fail to tolerate trailing space on the opening line. Users might only notice the @ not highlighted, because regular quoted stri...

Opengraph URL: https://github.com/PowerShell/EditorSyntax/issues/167

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Quoted strings/here-strings issues","articleBody":"Adding to issue #143, \r\n\r\n1. Both double-quote and single-quote here-strings fail to tolerate trailing space on the opening line.  Users might only notice the `@` not highlighted, because regular quoted string still fires, but if any further quotes are used in the here-string, they will cause highlighting issues.\r\n2. Single-quoted strings fail to highlight, if immediately following a backtick'd single-quote.  Example:\r\n   ```PowerShell\r\n   echo `''hello there'\r\n   ```\r\n   This statement outputs `'hello there`.\r\n   (a) This statement highlights incorrectly because the begin regex incorrectly requires a match of a single-quote to which is not preceded by single-quote.  This is flawed because the previous single-quote could be backticked.  In reality the check for a prior single-quote is unneeded.\r\n   (b) Likewise the end regex requires matching a single quote not followed by another single quote, but this requirement can be eliminated by using the TextMate `applyEndPatternLast` property, setting it to `true`.\r\n3. (a) Double quoted strings do not exhibit a similar behavior because the begin regex already checked for a backtick before the double-quote that cannot be before the real double-quote.  But that logic is flawed.  The backtick may have been backtick'd.  However, it works, because, the need to check for a preceding double-quote is unnecessary.\r\n   (b) The end match for double-quoted strings can benefit from the same property as the single-quoted string.\r\n4. Both double-quote and single-quote here-strings fail to scope the begin and end tokens as punctuation.\r\n\r\nNOTE: these are relatively minor issues overall.","author":{"url":"https://github.com/msftrncs","@type":"Person","name":"msftrncs"},"datePublished":"2019-04-28T04:49:44Z","url":"https://github.com/PowerShell/EditorSyntax/issues/167"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:5bc9d1ef-93ec-9ed9-c8c0-ebfb04660c58
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C8C:72619:8A4F23:C364B5:6AFE1B70
html-safe-noncea5a2410fa2d5a269e36624a275727f6bbae2b07b2b2a3125043fba5bc1281db8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzhDOjcyNjE5OjhBNEYyMzpDMzY0QjU6NkFGRTFCNzAiLCJ2aXNpdG9yX2lkIjoiOTY0MTkwMTg5NDY1MjQ2NTc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb91038fbe25e822c925dba69440a66c8c7cfc54ac963f1f8cbda098b65de5598
hovercard-subject-tagissue:438013495
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/EditorSyntax/167/issue_layout
twitter:imagehttps://opengraph.githubassets.com/3c91dfcb1b2d02675f5f5d8af3b1d880313c327e8a4305023bec642bd33fa3c4/PowerShell/EditorSyntax/issues/167
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3c91dfcb1b2d02675f5f5d8af3b1d880313c327e8a4305023bec642bd33fa3c4/PowerShell/EditorSyntax/issues/167
og:image:altAdding to issue #143, Both double-quote and single-quote here-strings fail to tolerate trailing space on the opening line. Users might only notice the @ not highlighted, because regular quoted stri...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemsftrncs
hostnamegithub.com
expected-hostnamegithub.com
Noned0525ab1464526bf4532a5551aa348cf100dff75ef808a96fc67a08b1d946aa9
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/EditorSyntax git https://github.com/PowerShell/EditorSyntax.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id59601299
octolytics-dimension-repository_nwoPowerShell/EditorSyntax
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id59601299
octolytics-dimension-repository_network_root_nwoPowerShell/EditorSyntax
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasefef3993a71fa20f7be8e167132fbf9619bc66e12
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/EditorSyntax/issues/167#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FEditorSyntax%2Fissues%2F167
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FEditorSyntax%2Fissues%2F167
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FEditorSyntax
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/167
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/167
Reloadhttps://github.com/PowerShell/EditorSyntax/issues/167
PowerShellhttps://github.com/PowerShell
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Codehttps://github.com/PowerShell/EditorSyntax
Issues69 (69)https://github.com/PowerShell/EditorSyntax/issues
Pull requests5 (5)https://github.com/PowerShell/EditorSyntax/pulls
Actionshttps://github.com/PowerShell/EditorSyntax/actions
Projectshttps://github.com/PowerShell/EditorSyntax/projects
Wikihttps://github.com/PowerShell/EditorSyntax/wiki
Security and qualityhttps://github.com/PowerShell/EditorSyntax/security
Insightshttps://github.com/PowerShell/EditorSyntax/insights
https://github.com/PowerShell/EditorSyntax
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/167
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/167
#173https://github.com/PowerShell/EditorSyntax/pull/173
Quoted strings/here-strings issueshttps://github.com/PowerShell/EditorSyntax/issues/167#top
#173https://github.com/PowerShell/EditorSyntax/pull/173
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Apr 28, 2019https://github.com/PowerShell/EditorSyntax/issues/167#issue-438013495
#143https://github.com/PowerShell/EditorSyntax/issues/143
Carl Morris (msftrncs)https://github.com/msftrncs
on Apr 28, 2019https://github.com/PowerShell/EditorSyntax/issues/167#event-2305063927
applies issue PowerShell#167 part 1https://github.com/msftrncs/EditorSyntax/commit/b126f9ae34036ea64900e8482c7bd802238edc53
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
b126f9ahttps://github.com/msftrncs/EditorSyntax/commit/b126f9ae34036ea64900e8482c7bd802238edc53
Applies issue PowerShell#167 part 2a, simplify regexhttps://github.com/msftrncs/EditorSyntax/commit/f6b5298a5c795bace9c8b78f7080775360b21bef
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
f6b5298https://github.com/msftrncs/EditorSyntax/commit/f6b5298a5c795bace9c8b78f7080775360b21bef
applies issue PowerShell#167 part 2b, optimizationhttps://github.com/msftrncs/EditorSyntax/commit/0860efe642568ab35b0b7c8d8da4cacc1b26b8f2
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
0860efehttps://github.com/msftrncs/EditorSyntax/commit/0860efe642568ab35b0b7c8d8da4cacc1b26b8f2
applies issue PowerShell#167 part 3a, simplify regexhttps://github.com/msftrncs/EditorSyntax/commit/6b4fea749ec5f2bac9c3d6a9beac0c9a0ddc3a19
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
6b4fea7https://github.com/msftrncs/EditorSyntax/commit/6b4fea749ec5f2bac9c3d6a9beac0c9a0ddc3a19
applies issue PowerShell#167 part 3b, optimizationhttps://github.com/msftrncs/EditorSyntax/commit/119a24c442ef9674b697af522d67c21091dd9be0
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
119a24chttps://github.com/msftrncs/EditorSyntax/commit/119a24c442ef9674b697af522d67c21091dd9be0
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Apr 28, 2019https://github.com/PowerShell/EditorSyntax/issues/167#issuecomment-487352768
#143https://github.com/PowerShell/EditorSyntax/issues/143
#141https://github.com/PowerShell/EditorSyntax/issues/141
#141https://github.com/PowerShell/EditorSyntax/issues/141
https://github.com/msftrncs
Carl Morris (msftrncs)https://github.com/msftrncs
on Apr 29, 2019https://github.com/PowerShell/EditorSyntax/issues/167#issuecomment-487449335
Double doublequotes in here-string scopes as a character.escape #143https://github.com/PowerShell/EditorSyntax/issues/143
Account for curly quotes in syntax definition. #141https://github.com/PowerShell/EditorSyntax/issues/141
Account for curly quotes in syntax definition. #141https://github.com/PowerShell/EditorSyntax/issues/141
#141https://github.com/PowerShell/EditorSyntax/issues/141
#143https://github.com/PowerShell/EditorSyntax/issues/143
#141https://github.com/PowerShell/EditorSyntax/issues/141
Carl Morris (msftrncs)https://github.com/msftrncs
on May 9, 2019https://github.com/PowerShell/EditorSyntax/issues/167#event-2329139887
applies issue PowerShell#167 part 1https://github.com/msftrncs/EditorSyntax/commit/8dfecbd5209ef856565d7b04ba6871a5962a0209
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
8dfecbdhttps://github.com/msftrncs/EditorSyntax/commit/8dfecbd5209ef856565d7b04ba6871a5962a0209
Applies issue PowerShell#167 part 2a, simplify regexhttps://github.com/msftrncs/EditorSyntax/commit/ec9b758260c5b63e0dd903de56b64fe728adaf9b
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
ec9b758https://github.com/msftrncs/EditorSyntax/commit/ec9b758260c5b63e0dd903de56b64fe728adaf9b
applies issue PowerShell#167 part 2b, optimizationhttps://github.com/msftrncs/EditorSyntax/commit/4f75ee10e60143c89e119cfbb2efebfdfa235211
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
4f75ee1https://github.com/msftrncs/EditorSyntax/commit/4f75ee10e60143c89e119cfbb2efebfdfa235211
applies issue PowerShell#167 part 3a, simplify regexhttps://github.com/msftrncs/EditorSyntax/commit/813b90ae4c674e5e0f036a39e0fa08f2ad62bfe0
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
813b90ahttps://github.com/msftrncs/EditorSyntax/commit/813b90ae4c674e5e0f036a39e0fa08f2ad62bfe0
applies issue PowerShell#167 part 3b, optimizationhttps://github.com/msftrncs/EditorSyntax/commit/c7f4009744f07202a4ae0bf8a21a7db3ba30feee
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
c7f4009https://github.com/msftrncs/EditorSyntax/commit/c7f4009744f07202a4ae0bf8a21a7db3ba30feee
applies issue PowerShell#167 part 4,https://github.com/msftrncs/EditorSyntax/commit/32e48b2d81a70336f6492af5f561cd0f2398ed59
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
32e48b2https://github.com/msftrncs/EditorSyntax/commit/32e48b2d81a70336f6492af5f561cd0f2398ed59
applies issue PowerShell#167 part 1https://github.com/msftrncs/EditorSyntax/commit/0d4cbf82884efce0d4ed4cf5f7276ae2c83e3b00
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
0d4cbf8https://github.com/msftrncs/EditorSyntax/commit/0d4cbf82884efce0d4ed4cf5f7276ae2c83e3b00
tests for PowerShell#143 and PowerShell#167 part 1https://github.com/msftrncs/EditorSyntax/commit/bb41692e56bce116b005e50c3f3244ff9a31fd30
PowerShell#143https://github.com/PowerShell/EditorSyntax/issues/143
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
bb41692https://github.com/msftrncs/EditorSyntax/commit/bb41692e56bce116b005e50c3f3244ff9a31fd30
fixes PowerShell#141, adds support curly quoteshttps://github.com/msftrncs/EditorSyntax/commit/f9308e37c4dbbc9224eb4b87eec74a2117006f32
PowerShell#141https://github.com/PowerShell/EditorSyntax/issues/141
f9308e3https://github.com/msftrncs/EditorSyntax/commit/f9308e37c4dbbc9224eb4b87eec74a2117006f32
applies issue PowerShell#167 part 4,https://github.com/msftrncs/EditorSyntax/commit/f5dfc7b8459c3173cf4c0cb91d1d3722e7bc733b
PowerShell#167https://github.com/PowerShell/EditorSyntax/issues/167
f5dfc7bhttps://github.com/msftrncs/EditorSyntax/commit/f5dfc7b8459c3173cf4c0cb91d1d3722e7bc733b
Andy Jordan (andyleejordan)https://github.com/andyleejordan
completedhttps://github.com/PowerShell/EditorSyntax/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#173https://github.com/PowerShell/EditorSyntax/pull/173
on Mar 17, 2021https://github.com/PowerShell/EditorSyntax/issues/167#event-4472703456
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/EditorSyntax/issues/167
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/EditorSyntax/issues/167
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.