Title: Lab 03, task 7 · Issue #1 · bmeaut/python_nlp_2017_fall · GitHub
Open Graph Title: Lab 03, task 7 · Issue #1 · bmeaut/python_nlp_2017_fall
X Title: Lab 03, task 7 · Issue #1 · bmeaut/python_nlp_2017_fall
Description: I wrote this task as below: s='hey (come) go' re.sub('[(].*?[)]', '', s) The output is: 'hey go' But if s='hey (come) go (flat)' then the 'go' is deleted too. How can I write code that output should be 'hey go'
Open Graph Description: I wrote this task as below: s='hey (come) go' re.sub('[(].*?[)]', '', s) The output is: 'hey go' But if s='hey (come) go (flat)' then the 'go' is deleted too. How can I write code that output shoul...
X Description: I wrote this task as below: s='hey (come) go' re.sub('[(].*?[)]', '', s) The output is: 'hey go' But if s='hey (come) go (flat)' then the 'go' is del...
Opengraph URL: https://github.com/bmeaut/python_nlp_2017_fall/issues/1
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lab 03, task 7","articleBody":"I wrote this task as below:\r\ns='hey (come) go'\r\nre.sub('[\\(].*?[\\)]', '', s)\r\n\r\nThe output is: 'hey go'\r\n\r\nBut if s='hey (come) go (flat)' then the 'go' is deleted too. \r\nHow can I write code that output should be 'hey go'","author":{"url":"https://github.com/sevinjyolchuyeva","@type":"Person","name":"sevinjyolchuyeva"},"datePublished":"2017-09-27T12:46:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/1/python_nlp_2017_fall/issues/1"}
| 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:5c9c6400-3f2a-48a4-bc9a-1564149b9e59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C86:6E8AA:10E4C5:14EA95:69921AA0 |
| html-safe-nonce | ac8ef07bdb77cd5cbcd5aeef40ab969ec9f163ff20553e0d86909223265f0d3d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Qzg2OjZFOEFBOjEwRTRDNToxNEVBOTU6Njk5MjFBQTAiLCJ2aXNpdG9yX2lkIjoiMTkwMTkxODc0ODU5MzQ5NDY4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4ff4326c93e0202619c7747fc72ab77b32aad4a002a59df01d095ac8180c60a2 |
| hovercard-subject-tag | issue:260960464 |
| 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/bmeaut/python_nlp_2017_fall/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47a3b285bdf8c06ee21e12b05f34ea4cc10ab9d2c2767e1099d5bbc479e38ff8/bmeaut/python_nlp_2017_fall/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47a3b285bdf8c06ee21e12b05f34ea4cc10ab9d2c2767e1099d5bbc479e38ff8/bmeaut/python_nlp_2017_fall/issues/1 |
| og:image:alt | I wrote this task as below: s='hey (come) go' re.sub('[(].*?[)]', '', s) The output is: 'hey go' But if s='hey (come) go (flat)' then the 'go' is deleted too. How can I write code that output shoul... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sevinjyolchuyeva |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/bmeaut/python_nlp_2017_fall git https://github.com/bmeaut/python_nlp_2017_fall.git |
| octolytics-dimension-user_id | 12133481 |
| octolytics-dimension-user_login | bmeaut |
| octolytics-dimension-repository_id | 102472656 |
| octolytics-dimension-repository_nwo | bmeaut/python_nlp_2017_fall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102472656 |
| octolytics-dimension-repository_network_root_nwo | bmeaut/python_nlp_2017_fall |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width