René's URL Explorer Experiment


Title: Bug in beta tokenizer · Issue #178 · scriptcoded/sql-highlight · GitHub

Open Graph Title: Bug in beta tokenizer · Issue #178 · scriptcoded/sql-highlight

X Title: Bug in beta tokenizer · Issue #178 · scriptcoded/sql-highlight

Description: Just looking at the code I think there is a bug here: https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21 This only matches litteral periods .. I assume that you meant to ...

Open Graph Description: Just looking at the code I think there is a bug here: https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21 This only matches littera...

X Description: Just looking at the code I think there is a bug here: https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21 This only matches littera...

Opengraph URL: https://github.com/scriptcoded/sql-highlight/issues/178

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug in beta tokenizer","articleBody":"Just looking at the code I think there is a bug here:\r\n\r\nhttps://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21\r\n\r\nThis only matches litteral periods `.`. I assume that you meant to match any character `/(?\u003cunknown\u003e.+?)/`.\r\n\r\nWithout this change (now that it's using `.matchAll()`) anything in the input SQL string that does not match the regex will be removed from the results and not visible to the user. I assume that is undesired.\r\n\r\n(Also of note that this approach will at most match a single character in every `unknown` group match.)\r\n\r\nAnd a bit off topic, but I'm using this highlighter with a non-standard SQL flavor, which uses several additional keywords. These keywords will now be highlighted as identifiers. I hope the highlighting for those is not too disturbing. 😅","author":{"url":"https://github.com/Qtax","@type":"Person","name":"Qtax"},"datePublished":"2024-01-08T16:44:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/178/sql-highlight/issues/178"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e08de611-0d31-6a14-3340-a34ff711eba6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB8C0:2C85F2:167C63D:1DA859F:69815638
html-safe-nonce855b0281ee98aef40ba1d94be187a95371a94c3dec09a44f25e5d32a05d63f27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEMwOjJDODVGMjoxNjdDNjNEOjFEQTg1OUY6Njk4MTU2MzgiLCJ2aXNpdG9yX2lkIjoiODIzNTE4MDE5NTAyMDEwMTE3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac6c653fe42eaa089867bd7b4f8727ca82494a53d83b54df893504c799323c40de
hovercard-subject-tagissue:2070847689
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/scriptcoded/sql-highlight/178/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9154f595acc3ae0367368bbfe757548a2c53e3b2a7a5aa9d1dbed9fb174df04f/scriptcoded/sql-highlight/issues/178
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9154f595acc3ae0367368bbfe757548a2c53e3b2a7a5aa9d1dbed9fb174df04f/scriptcoded/sql-highlight/issues/178
og:image:altJust looking at the code I think there is a bug here: https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21 This only matches littera...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameQtax
hostnamegithub.com
expected-hostnamegithub.com
None4950337b1ba782ed2a56c7fce41be1e928a0fe0880cbdec4c091dcf98c412664
turbo-cache-controlno-preview
go-importgithub.com/scriptcoded/sql-highlight git https://github.com/scriptcoded/sql-highlight.git
octolytics-dimension-user_id6452991
octolytics-dimension-user_loginscriptcoded
octolytics-dimension-repository_id147309066
octolytics-dimension-repository_nwoscriptcoded/sql-highlight
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id147309066
octolytics-dimension-repository_network_root_nwoscriptcoded/sql-highlight
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
releasea06489e04583bd8257bde76b6e0d20f2d10ca68d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scriptcoded/sql-highlight/issues/178#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcoded%2Fsql-highlight%2Fissues%2F178
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscriptcoded%2Fsql-highlight%2Fissues%2F178
Sign up https://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=scriptcoded%2Fsql-highlight
Reloadhttps://github.com/scriptcoded/sql-highlight/issues/178
Reloadhttps://github.com/scriptcoded/sql-highlight/issues/178
Reloadhttps://github.com/scriptcoded/sql-highlight/issues/178
scriptcoded https://github.com/scriptcoded
sql-highlighthttps://github.com/scriptcoded/sql-highlight
Please reload this pagehttps://github.com/scriptcoded/sql-highlight/issues/178
Notifications https://github.com/login?return_to=%2Fscriptcoded%2Fsql-highlight
Fork 14 https://github.com/login?return_to=%2Fscriptcoded%2Fsql-highlight
Star 42 https://github.com/login?return_to=%2Fscriptcoded%2Fsql-highlight
Code https://github.com/scriptcoded/sql-highlight
Issues 0 https://github.com/scriptcoded/sql-highlight/issues
Pull requests 0 https://github.com/scriptcoded/sql-highlight/pulls
Actions https://github.com/scriptcoded/sql-highlight/actions
Security 0 https://github.com/scriptcoded/sql-highlight/security
Insights https://github.com/scriptcoded/sql-highlight/pulse
Code https://github.com/scriptcoded/sql-highlight
Issues https://github.com/scriptcoded/sql-highlight/issues
Pull requests https://github.com/scriptcoded/sql-highlight/pulls
Actions https://github.com/scriptcoded/sql-highlight/actions
Security https://github.com/scriptcoded/sql-highlight/security
Insights https://github.com/scriptcoded/sql-highlight/pulse
New issuehttps://github.com/login?return_to=https://github.com/scriptcoded/sql-highlight/issues/178
New issuehttps://github.com/login?return_to=https://github.com/scriptcoded/sql-highlight/issues/178
Bug in beta tokenizerhttps://github.com/scriptcoded/sql-highlight/issues/178#top
no-stalePrevent making as stalehttps://github.com/scriptcoded/sql-highlight/issues?q=state%3Aopen%20label%3A%22no-stale%22
releasedhttps://github.com/scriptcoded/sql-highlight/issues?q=state%3Aopen%20label%3A%22released%22
https://github.com/Qtax
https://github.com/Qtax
Qtaxhttps://github.com/Qtax
on Jan 8, 2024https://github.com/scriptcoded/sql-highlight/issues/178#issue-2070847689
https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21https://github.com/scriptcoded/sql-highlight/blob/909c361424255f5af2a5e87b96dcd9e93e61123d/lib/index.js#L42C21-L42C21
no-stalePrevent making as stalehttps://github.com/scriptcoded/sql-highlight/issues?q=state%3Aopen%20label%3A%22no-stale%22
releasedhttps://github.com/scriptcoded/sql-highlight/issues?q=state%3Aopen%20label%3A%22released%22
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.