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
Accelerator
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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
MagicStack
/
MagicPython
Public
Notifications
You must be signed in to change notification settings
Fork
99
Star
1.4k
Code
Issues
65
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
MagicPython
test
regexp
on
no-gh
User selector
All users
All time
Commit history
Commits on Oct 17, 2019
Add a `meta.member.access.python` scope.
Show description for c0f8d51
vpetrovykh
committed
c0f8d51
View commit details
Copy full SHA for c0f8d51
View code at this point
Browse repository at this point
Commits on Jul 10, 2018
Fix a docstring highlighter bug.
vpetrovykh
committed
f340032
View commit details
Copy full SHA for f340032
View code at this point
Browse repository at this point
Commits on Aug 11, 2017
Highlight `.` in its own scope. (#101)
Show description for b453f26
vpetrovykh
authored and
Yury Selivanov
committed
b453f26
View commit details
Copy full SHA for b453f26
View code at this point
Browse repository at this point
Clean-up the grammar so that MagicRegExp does not have missing rules. (#100)
Show description for 361a496
vpetrovykh
authored
361a496
View commit details
Copy full SHA for 361a496
View code at this point
Browse repository at this point
Commits on Dec 12, 2016
Add an extra scope for f-strings: `string.interpolated.python`
Show description for abb3cd7
Yury Selivanov
committed
abb3cd7
View commit details
Copy full SHA for abb3cd7
View code at this point
Browse repository at this point
Commits on Nov 23, 2016
More refined fstring regexps.
vpetrovykh
committed
e13309e
View commit details
Copy full SHA for e13309e
View code at this point
Browse repository at this point
First go at raw fstrings and other prefix combos.
Show description for 34c12b0
vpetrovykh
committed
34c12b0
View commit details
Copy full SHA for 34c12b0
View code at this point
Browse repository at this point
Commits on Nov 7, 2015
Tokenize identifiers to help linters
Yury Selivanov
committed
b75a3bb
View commit details
Copy full SHA for b75a3bb
View code at this point
Browse repository at this point
Commits on Nov 5, 2015
Fix highlighting of special methods/attributes.
vpetrovykh
committed
26f1090
View commit details
Copy full SHA for 26f1090
View code at this point
Browse repository at this point
Commits on Oct 24, 2015
Recognize '&&' and '||' as illegal operators
Yury Selivanov
committed
1ba703f
View commit details
Copy full SHA for 1ba703f
View code at this point
Browse repository at this point
Make operators scoping more granular (to match Atom language-python)
Yury Selivanov
committed
9f7e839
View commit details
Copy full SHA for 9f7e839
View code at this point
Browse repository at this point
Commits on Oct 22, 2015
Make scopes for single-line rx more consistent with regular strings
Yury Selivanov
committed
e26b18d
View commit details
Copy full SHA for e26b18d
View code at this point
Browse repository at this point
Make dosctrings scoping consistent with normal strings
Yury Selivanov
committed
92bed5a
View commit details
Copy full SHA for 92bed5a
View code at this point
Browse repository at this point
Commits on Oct 20, 2015
Recognize codetags in regexp comments
Yury Selivanov
committed
31ba9aa
View commit details
Copy full SHA for 31ba9aa
View code at this point
Browse repository at this point
Make the scope for opening/closing parenthesis and brackets consistent.
vpetrovykh
committed
9cdf8e3
View commit details
Copy full SHA for 9cdf8e3
View code at this point
Browse repository at this point
Add 'meta.function-call.generic.python' scope to callee names
Yury Selivanov
committed
489a57e
View commit details
Copy full SHA for 489a57e
View code at this point
Browse repository at this point
Commits on Oct 19, 2015
Fix illegan mismatched closing quote for one-line regexp.
vpetrovykh
committed
e153244
View commit details
Copy full SHA for e153244
View code at this point
Browse repository at this point
Commits on Oct 18, 2015
scoping: '.comments.' -> '.comment.'
Yury Selivanov
committed
16ec28a
View commit details
Copy full SHA for 16ec28a
View code at this point
Browse repository at this point
Get rid of last '.triple.' scope
Yury Selivanov
committed
8a67444
View commit details
Copy full SHA for 8a67444
View code at this point
Browse repository at this point
Fix tests to comply with syntaxdev@0.0.9
Yury Selivanov
committed
b59a8e3
View commit details
Copy full SHA for b59a8e3
View code at this point
Browse repository at this point
Commits on Oct 17, 2015
Add support for single quoted doctrings (apparently they are popular)
Yury Selivanov
committed
feeecc5
View commit details
Copy full SHA for feeecc5
View code at this point
Browse repository at this point
Further normalize string scopes
Yury Selivanov
committed
2c645de
View commit details
Copy full SHA for 2c645de
View code at this point
Browse repository at this point
Simplify regex scopes (drop single/double quote info)
Yury Selivanov
committed
19af47f
View commit details
Copy full SHA for 19af47f
View code at this point
Browse repository at this point
Simplify strings rules & scopes
Yury Selivanov
committed
6c680fd
View commit details
Copy full SHA for 6c680fd
View code at this point
Browse repository at this point
Fix comments in regexp multiline strings.
vpetrovykh
committed
c0f0745
View commit details
Copy full SHA for c0f0745
View code at this point
Browse repository at this point
Commits on Oct 16, 2015
Update tests to have strings as part of expressions.
Show description for 96f72cc
vpetrovykh
committed
96f72cc
View commit details
Copy full SHA for 96f72cc
View code at this point
Browse repository at this point
Fixes and improvements to string highlighting.
vpetrovykh
committed
6ebfffd
View commit details
Copy full SHA for 6ebfffd
View code at this point
Browse repository at this point
Commits on Oct 15, 2015
Refactor strings scopes & rules
Yury Selivanov
committed
d9f8060
View commit details
Copy full SHA for d9f8060
View code at this point
Browse repository at this point
Handle lone '[]' and '[^]' in regexp strings.
vpetrovykh
committed
f43686f
View commit details
Copy full SHA for f43686f
View code at this point
Browse repository at this point
Support comments in multiline regexps
Yury Selivanov
committed
2a19494
View commit details
Copy full SHA for 2a19494
View code at this point
Browse repository at this point
Fix highlighting for incomplete regexes like r'('
Yury Selivanov
committed
96e41b6
View commit details
Copy full SHA for 96e41b6
View code at this point
Browse repository at this point
Add tests for comments in multi-line regexp strings.
vpetrovykh
committed
0bbf987
View commit details
Copy full SHA for 0bbf987
View code at this point
Browse repository at this point
Add pythonic comments to multi-line regexp strings.
vpetrovykh
committed
2d5d68d
View commit details
Copy full SHA for 2d5d68d
View code at this point
Browse repository at this point
Add more tests for multiline regexp strings variations.
vpetrovykh
committed
85784b0
View commit details
Copy full SHA for 85784b0
View code at this point
Browse repository at this point
Adjust scope names for regular expression strings.
Show description for fa2ed6d
vpetrovykh
committed
fa2ed6d
View commit details
Copy full SHA for fa2ed6d
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.