René's URL Explorer Experiment


Title: editor.research() assigns empty string to non-participating groups (instead of the preferred None) · Issue #324 · bruderstein/PythonScript · GitHub

Open Graph Title: editor.research() assigns empty string to non-participating groups (instead of the preferred None) · Issue #324 · bruderstein/PythonScript

X Title: editor.research() assigns empty string to non-participating groups (instead of the preferred None) · Issue #324 · bruderstein/PythonScript

Description: Under PS 3.0.16.0 (and 2.0.0.0 as well), consider this script: # -*- coding: utf-8 -*- from __future__ import print_function # see from Npp import * def match_found(m): print(m.groups()) matches = [] editor.research(r'test data: (\d+)\.?...

Open Graph Description: Under PS 3.0.16.0 (and 2.0.0.0 as well), consider this script: # -*- coding: utf-8 -*- from __future__ import print_function # see from Npp import * def match_found(m): print(m.groups()) matches = ...

X Description: Under PS 3.0.16.0 (and 2.0.0.0 as well), consider this script: # -*- coding: utf-8 -*- from __future__ import print_function # see from Npp import * def match_found(m): print(m.groups()) matches = ...

Opengraph URL: https://github.com/bruderstein/PythonScript/issues/324

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"editor.research() assigns empty string to non-participating groups (instead of the preferred None)","articleBody":"Under PS 3.0.16.0 (and 2.0.0.0 as well), consider this script:\r\n\r\n```py\r\n# -*- coding: utf-8 -*-\r\nfrom __future__ import print_function\r\n\r\n# see\r\n\r\nfrom Npp import *\r\n\r\ndef match_found(m): print(m.groups())\r\nmatches = []\r\neditor.research(r'test data: (\\d+)\\.?(\\d+)?', match_found)\r\n\r\n# test data: 24\r\n```\r\n\r\nRun the script with the script itself as the active tab in Notepad++.\r\n\r\nActual Output:\r\n`('24', '')`\r\n\r\nPreferred output:\r\n`('24', None)`\r\n\r\nRationale for preferred output, see https://docs.python.org/3/library/re.html#match-objects:~:text=Match.groups(default%3DNone), duplicated here:\r\n\r\n![image](https://github.com/bruderstein/PythonScript/assets/77065706/ec0c7913-2135-44fb-9c0c-eda10ff3390e)\r\n\r\nNote that PS does not support the `default` argument for `m.groups()` and I'm not requesting that here (that would be a feature/enhancement request, whereas this current issue is more of a bug/enhancement request).\r\n\r\n","author":{"url":"https://github.com/alankilborn","@type":"Person","name":"alankilborn"},"datePublished":"2024-01-24T11:55:43Z","url":"https://github.com/bruderstein/PythonScript/issues/324"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:38df8274-43eb-6d24-82ca-a4028121c1ec
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id866A:8D4F:942462:CC9D00:6AF98536
html-safe-nonce6d202e0e6b2040de8f71d6d81c1a2e6d764c2ee160747878daa11b6a7b8c3fad
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjZBOjhENEY6OTQyNDYyOkNDOUQwMDo2QUY5ODUzNiIsInZpc2l0b3JfaWQiOiI4NTk3NDQwODAwNzYzNzc0MjYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac388d937b277cd7eec74e3b724ea0aac8ffa51f2659c161f189211a8edda82819
hovercard-subject-tagissue:2098106932
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/bruderstein/PythonScript/324/issue_layout
twitter:imagehttps://opengraph.githubassets.com/351080ae90a829a48f1d9bfcb1ab592f2546d1e2cbe7120807f352c46ffa2b5b/bruderstein/PythonScript/issues/324
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/351080ae90a829a48f1d9bfcb1ab592f2546d1e2cbe7120807f352c46ffa2b5b/bruderstein/PythonScript/issues/324
og:image:altUnder PS 3.0.16.0 (and 2.0.0.0 as well), consider this script: # -*- coding: utf-8 -*- from __future__ import print_function # see from Npp import * def match_found(m): print(m.groups()) matches = ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealankilborn
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
go-importgithub.com/bruderstein/PythonScript git https://github.com/bruderstein/PythonScript.git
octolytics-dimension-user_id91716
octolytics-dimension-user_loginbruderstein
octolytics-dimension-repository_id795778
octolytics-dimension-repository_nwobruderstein/PythonScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id795778
octolytics-dimension-repository_network_root_nwobruderstein/PythonScript
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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/bruderstein/PythonScript/issues/324#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbruderstein%2FPythonScript%2Fissues%2F324
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%2Fbruderstein%2FPythonScript%2Fissues%2F324
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=bruderstein%2FPythonScript
Reloadhttps://github.com/bruderstein/PythonScript/issues/324
Reloadhttps://github.com/bruderstein/PythonScript/issues/324
Reloadhttps://github.com/bruderstein/PythonScript/issues/324
brudersteinhttps://github.com/bruderstein
PythonScripthttps://github.com/bruderstein/PythonScript
Codehttps://github.com/bruderstein/PythonScript
Issues75 (75)https://github.com/bruderstein/PythonScript/issues
Pull requests1 (1)https://github.com/bruderstein/PythonScript/pulls
Actionshttps://github.com/bruderstein/PythonScript/actions
Projectshttps://github.com/bruderstein/PythonScript/projects
Wikihttps://github.com/bruderstein/PythonScript/wiki
Security and qualityhttps://github.com/bruderstein/PythonScript/security
Insightshttps://github.com/bruderstein/PythonScript/pulse
https://github.com/bruderstein/PythonScript
New issuehttps://github.com/login?return_to=https://github.com/bruderstein/PythonScript/issues/324
New issuehttps://github.com/login?return_to=https://github.com/bruderstein/PythonScript/issues/324
editor.research() assigns empty string to non-participating groups (instead of the preferred None)https://github.com/bruderstein/PythonScript/issues/324#top
https://github.com/alankilborn
alankilbornhttps://github.com/alankilborn
on Jan 24, 2024https://github.com/bruderstein/PythonScript/issues/324#issue-2098106932
https://docs.python.org/3/library/re.html#match-objects:~:text=Match.groups(default%3DNone)https://docs.python.org/3/library/re.html#match-objects:~:text=Match.groups(default%3DNone)
https://private-user-images.githubusercontent.com/77065706/299303070-ec0c7913-2135-44fb-9c0c-eda10ff3390e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ3Mzc3NjIsIm5iZiI6MTc5NDczNzQ2MiwicGF0aCI6Ii83NzA2NTcwNi8yOTkzMDMwNzAtZWMwYzc5MTMtMjEzNS00NGZiLTljMGMtZWRhMTBmZjMzOTBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTE1VDEwMTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIyZWViZjA2OWU3YWVkMmE3YjVkYjNmMDE1YTdmZjA5NDU2NzAyMzg0MThkZmRhYjE3NjFlZDhjM2E1ZTMxYzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.LtDQIt4dE-wqbLUVs-kCgZd3hBH1bWBPrkC5726ghGI
Sign up for freehttps://github.com/signup?return_to=https://github.com/bruderstein/PythonScript/issues/324
Sign in to commenthttps://github.com/login?return_to=https://github.com/bruderstein/PythonScript/issues/324
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.