René's URL Explorer Experiment


Title: case-insensitive in conversationbot.py bot demo · Issue #4846 · python-telegram-bot/python-telegram-bot · GitHub

Open Graph Title: case-insensitive in conversationbot.py bot demo · Issue #4846 · python-telegram-bot/python-telegram-bot

X Title: case-insensitive in conversationbot.py bot demo · Issue #4846 · python-telegram-bot/python-telegram-bot

Description: Steps to Reproduce when i run sample conversationbot.py in the offical document, i found it is case-insensitive Expected behaviour it should accept input such as boy/Boy/BOY Actual behaviour if I type wrong message, the program hang out ...

Open Graph Description: Steps to Reproduce when i run sample conversationbot.py in the offical document, i found it is case-insensitive Expected behaviour it should accept input such as boy/Boy/BOY Actual behaviour if I t...

X Description: Steps to Reproduce when i run sample conversationbot.py in the offical document, i found it is case-insensitive Expected behaviour it should accept input such as boy/Boy/BOY Actual behaviour if I t...

Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/4846

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"case-insensitive in  conversationbot.py bot demo","articleBody":"### Steps to Reproduce\n\n1. when i run sample conversationbot.py in the offical document, i found it is  case-insensitive \n\n\u003cimg width=\"764\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/d4f460ab-4a61-4ee4-9966-cb0ed78a7fa5\" /\u003e\n\n\n### Expected behaviour\n\nit should accept input such as boy/Boy/BOY  \n\n### Actual behaviour\n\nif I type wrong message, the program hang out\n\n### Operating System\n\nmacos\n\n### Version of Python, python-telegram-bot \u0026 dependencies\n\n```shell\npython-telegram-bot 21.5\nBot API 7.9\nPython 3.11.5 (main, Aug 24 2023, 15:09:45) [Clang 14.0.3 (clang-1403.0.22.14.1)]\n```\n\n### Relevant log output\n\n```python\n\n```\n\n### Additional Context\n\nI found just modify the code, it can fix this bug.\n`GENDER: [MessageHandler(filters.Regex(\"^(Boy|Girl|Other)$\"), gender)]`,\nto\nGENDER: [MessageHandler(filters.Regex(\"(?i)^(Boy|Girl|Other)$\"), gender)].\n","author":{"url":"https://github.com/fengxiaohu","@type":"Person","name":"fengxiaohu"},"datePublished":"2025-07-03T17:23:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4846/python-telegram-bot/issues/4846"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c67b510f-682e-a1d6-c150-34494bd596b7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC530:1BDA3B:3652B8:491BCD:6A5B63C0
html-safe-nonceab8c423714bf1ba1927d6a2c20211d4e44d9119e669316e5fe98b485320d0c1f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTMwOjFCREEzQjozNjUyQjg6NDkxQkNEOjZBNUI2M0MwIiwidmlzaXRvcl9pZCI6IjQ0MTE3NDUxNDM1NzUyNDE2NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbb09a28671a2d8de96830b4adb3d4149c5899cdb8f5fbc86e2a3119afbcbfcea
hovercard-subject-tagissue:3200097245
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/python-telegram-bot/python-telegram-bot/4846/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9253f7343aa7800635f24b4f0b25a411ed02c6cf62eef2e1c9aa78fa0d7abe3a/python-telegram-bot/python-telegram-bot/issues/4846
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9253f7343aa7800635f24b4f0b25a411ed02c6cf62eef2e1c9aa78fa0d7abe3a/python-telegram-bot/python-telegram-bot/issues/4846
og:image:altSteps to Reproduce when i run sample conversationbot.py in the offical document, i found it is case-insensitive Expected behaviour it should accept input such as boy/Boy/BOY Actual behaviour if I t...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefengxiaohu
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-preview
go-importgithub.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git
octolytics-dimension-user_id16178365
octolytics-dimension-user_loginpython-telegram-bot
octolytics-dimension-repository_id38696925
octolytics-dimension-repository_nwopython-telegram-bot/python-telegram-bot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id38696925
octolytics-dimension-repository_network_root_nwopython-telegram-bot/python-telegram-bot
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
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F4846
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2Fpython-telegram-bot%2Fpython-telegram-bot%2Fissues%2F4846
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=python-telegram-bot%2Fpython-telegram-bot
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846
Reloadhttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846
Please reload this pagehttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846
python-telegram-bot https://github.com/python-telegram-bot
python-telegram-bothttps://github.com/python-telegram-bot/python-telegram-bot
Notifications https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Fork 6.1k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Star 29.3k https://github.com/login?return_to=%2Fpython-telegram-bot%2Fpython-telegram-bot
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues 24 https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests 9 https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality 0 https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
Code https://github.com/python-telegram-bot/python-telegram-bot
Issues https://github.com/python-telegram-bot/python-telegram-bot/issues
Pull requests https://github.com/python-telegram-bot/python-telegram-bot/pulls
Discussions https://github.com/python-telegram-bot/python-telegram-bot/discussions
Actions https://github.com/python-telegram-bot/python-telegram-bot/actions
Projects https://github.com/python-telegram-bot/python-telegram-bot/projects
Wiki https://github.com/python-telegram-bot/python-telegram-bot/wiki
Security and quality https://github.com/python-telegram-bot/python-telegram-bot/security
Insights https://github.com/python-telegram-bot/python-telegram-bot/pulse
#4855https://github.com/python-telegram-bot/python-telegram-bot/pull/4855
case-insensitive in conversationbot.py bot demohttps://github.com/python-telegram-bot/python-telegram-bot/issues/4846#top
#4855https://github.com/python-telegram-bot/python-telegram-bot/pull/4855
ℹ️ good-first-issueinformation: good-first-issuehttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%E2%84%B9%EF%B8%8F%20good-first-issue%22
⚙️ examplesaffected functionality: exampleshttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%E2%9A%99%EF%B8%8F%20examples%22
https://github.com/fengxiaohu
fengxiaohuhttps://github.com/fengxiaohu
on Jul 3, 2025https://github.com/python-telegram-bot/python-telegram-bot/issues/4846#issue-3200097245
https://private-user-images.githubusercontent.com/23492381/462138049-d4f460ab-4a61-4ee4-9966-cb0ed78a7fa5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQzNzQ1MDgsIm5iZiI6MTc4NDM3NDIwOCwicGF0aCI6Ii8yMzQ5MjM4MS80NjIxMzgwNDktZDRmNDYwYWItNGE2MS00ZWU0LTk5NjYtY2IwZWQ3OGE3ZmE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzE4VDExMzAwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiNmU3ODM5MTk3MmQ2YzI1NWU2ZWUxYWE3ZDFmM2ZhNjk0ZTIxMjcxYTA3MjA0NGFjNjkxMmE1NWFiZmM0NTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.S3f46pH9k6_qF_y0s1rP5JQrdPJx8fJ6OSUXHbMrNTQ
ℹ️ good-first-issueinformation: good-first-issuehttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%E2%84%B9%EF%B8%8F%20good-first-issue%22
⚙️ examplesaffected functionality: exampleshttps://github.com/python-telegram-bot/python-telegram-bot/issues?q=state%3Aopen%20label%3A%22%E2%9A%99%EF%B8%8F%20examples%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.