Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ptbtest-dev
/
ptbtest
Public
Notifications
You must be signed in to change notification settings
Fork
31
Star
58
Code
Issues
5
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Add
parse_urls_and_emails
- #47
#47
Open
elebur
wants to merge 16 commits into
ptbtest-dev:develop
ptbtest-dev/ptbtest:develop
from
elebur:develop
elebur/ptbtest:develop
Copy head branch name to clipboard
Conversation
Commits
16
(16)
Checks
Files changed
Open
Add
parse_urls_and_emails
#47
elebur
wants to merge 16 commits into
ptbtest-dev:develop
ptbtest-dev/ptbtest:develop
from
elebur:develop
elebur/ptbtest:develop
Copy head branch name to clipboard
Commits
Commits on Jun 15, 2025
feat: add the `_fix_url` function for validating URLs
elebur
committed
ea39b04
View commit details
Copy full SHA for ea39b04
Browse repository at this point
refactor(`_fix_url`): add additional checkers for validating URLs to match Telegram's rules
elebur
committed
947ef8a
View commit details
Copy full SHA for 947ef8a
Browse repository at this point
refactor: replace `_EntityPosition` with `_EntityMatch` object
elebur
committed
3947565
View commit details
Copy full SHA for 3947565
Browse repository at this point
feat(`EntityParser`): add the `parse_urls` method
elebur
committed
dce527c
View commit details
Copy full SHA for dce527c
Browse repository at this point
refactor(`entityparser`): renamed `_EntityMatch`'s properties.
elebur
committed
f5863c3
View commit details
Copy full SHA for f5863c3
Browse repository at this point
feat(`EntityParser`): add the email parser
elebur
committed
799905f
View commit details
Copy full SHA for 799905f
Browse repository at this point
refactor: rename the test's name
elebur
committed
1590d99
View commit details
Copy full SHA for 1590d99
Browse repository at this point
refactor(`EntityParser`): rename `parse_urls` to `parse_urls_and_emails`
elebur
committed
80136a1
View commit details
Copy full SHA for 80136a1
Browse repository at this point
refactor: rename `test_parse_urls` to `test_parse_urls_and_emails`
elebur
committed
4673795
View commit details
Copy full SHA for 4673795
Browse repository at this point
test: mark failing test with `xfail`
Show description for b8b93e8
elebur
committed
b8b93e8
View commit details
Copy full SHA for b8b93e8
Browse repository at this point
refactor(`parse_urls_and_emails`): allow the "%" sign in the basic auth part
elebur
committed
5617b8c
View commit details
Copy full SHA for 5617b8c
Browse repository at this point
refactor(`parse_urls_and_emails`): remove the redundant range in the regex pattern
elebur
committed
7dae326
View commit details
Copy full SHA for 7dae326
Browse repository at this point
refactor(`parse_urls_and_emails`): move the characters set for the domain to a separate variable
elebur
committed
8b18cec
View commit details
Copy full SHA for 8b18cec
Browse repository at this point
test(`parse_bot_commands`): add tests for commands that consist of numbers only
elebur
committed
41c4905
View commit details
Copy full SHA for 41c4905
Browse repository at this point
fix(`parse_urls_and_emails`): now the method respects the UTF16 length of the strings
elebur
committed
5479387
View commit details
Copy full SHA for 5479387
Browse repository at this point
refactor(`entityparser`): apply hatch's warnings
elebur
committed
03fef63
View commit details
Copy full SHA for 03fef63
Browse repository at this point
You can’t perform that action at this time.