Title: Clone() implemented improperly for MatchString.cs? · Issue #3994 · PowerShell/PowerShell · GitHub
Open Graph Title: Clone() implemented improperly for MatchString.cs? · Issue #3994 · PowerShell/PowerShell
X Title: Clone() implemented improperly for MatchString.cs? · Issue #3994 · PowerShell/PowerShell
Description: It looks like the Clone functions in MatchString.cs often reference the clone when they meant to reference "this" (explicitly or implicitly). For example, https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Comm...
Open Graph Description: It looks like the Clone functions in MatchString.cs often reference the clone when they meant to reference "this" (explicitly or implicitly). For example, https://github.com/PowerShell/PowerShell/b...
X Description: It looks like the Clone functions in MatchString.cs often reference the clone when they meant to reference "this" (explicitly or implicitly). For example, https://github.com/PowerShell/Po...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/3994
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Clone() implemented improperly for MatchString.cs?","articleBody":"It looks like the Clone functions in MatchString.cs often reference the clone when they meant to reference \"this\" (explicitly or implicitly). For example, https://github.com/PowerShell/PowerShell/blob/master/src/Microsoft.PowerShell.Commands.Utility/commands/utility/MatchString.cs#L65 checks the newly-created object to see if it has a PreContext, when it probably should check the current object.\r\n\r\nIt looks like this mistake occurs in both Clone() functions.\r\n\r\nAlso, where is the definition of the Match class?","author":{"url":"https://github.com/Narvey","@type":"Person","name":"Narvey"},"datePublished":"2017-06-12T20:10:07Z","url":"https://github.com/PowerShell/PowerShell/issues/3994"}
| 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:7dab57df-182a-7ce7-ebbb-1c8fac5c1499 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB6C:572D1:2AF5E6:3B9179:6AFD9383 |
| html-safe-nonce | 67bd2b74efc869633c9f696c4661ae0cd6fba7915acf6f365ced58e0f5f87152 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjZDOjU3MkQxOjJBRjVFNjozQjkxNzk6NkFGRDkzODMiLCJ2aXNpdG9yX2lkIjoiNzA2NTk4NDI1NjE5NDc0NTIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 48c5dcced8d8adfd4af78a013750e928d35448ad40232618df6b832c7e2e36ea |
| hovercard-subject-tag | issue:235350975 |
| 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/PowerShell/3994/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3ac503ca808d6d59819621d1cecf59315febca6d7f18dd4e1e40b85a265be684/PowerShell/PowerShell/issues/3994 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3ac503ca808d6d59819621d1cecf59315febca6d7f18dd4e1e40b85a265be684/PowerShell/PowerShell/issues/3994 |
| og:image:alt | It looks like the Clone functions in MatchString.cs often reference the clone when they meant to reference "this" (explicitly or implicitly). For example, https://github.com/PowerShell/PowerShell/b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Narvey |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| 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 | 927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width