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 }}
thunderer
/
Shortcode
Public
Notifications
You must be signed in to change notification settings
Fork
32
Star
389
Code
Issues
4
Pull requests
4
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
RegularParser improvements
- #72
#72
Merged
thunderer
merged 6 commits into
master
thunderer/Shortcode:master
from
parser-improvements
thunderer/Shortcode:parser-improvements
Copy head branch name to clipboard
Dec 9, 2018
Conversation
Commits
6
(6)
Checks
Files changed
Merged
RegularParser improvements
#72
thunderer
merged 6 commits into
master
thunderer/Shortcode:master
from
parser-improvements
thunderer/Shortcode:parser-improvements
Copy head branch name to clipboard
Commits
Commits on Dec 8, 2018
improved parser regex to report single tokens for series of non-token characters, added opcode optimized function aliases
thunderer
committed
16308a3
View commit details
Copy full SHA for 16308a3
Browse repository at this point
backtracks now rely on their offsets only, removed backtrack token storage, profiler reports over 143x performance improvement for RegularParser, a well spent Saturday afternoon
thunderer
committed
495c211
View commit details
Copy full SHA for 495c211
Browse repository at this point
Commits on Dec 9, 2018
fixed issue #70, preg_match_all silently failed and returned only the small part of expected results, named captures based tokenizer was replaced with string matching which eats significant portion…
Show description for 2f52e54
thunderer
committed
2f52e54
View commit details
Copy full SHA for 2f52e54
Browse repository at this point
inlined content() private method in RegularParser, nesting level is halved, simplified lookahead() method body as type is always specified
thunderer
committed
590dfbb
View commit details
Copy full SHA for 590dfbb
Browse repository at this point
disable xdebug.max_nesting_level during RegularParser parsing process and restore it afterwards: there is no reliable way of detecting the current nesting level and safely manipulating its value in…
Show description for df9330a
thunderer
committed
df9330a
View commit details
Copy full SHA for df9330a
Browse repository at this point
reverted token lexer to named capture groups, for some reason I'm no longer able to reproduce PCRE_JIT_STACKLIMIT_ERROR
thunderer
committed
39440f1
View commit details
Copy full SHA for 39440f1
Browse repository at this point
You can’t perform that action at this time.