diff options
author | Nikolay Korolev <korolevns98@gmail.com> | 2019-12-07 00:12:30 +0300 |
---|---|---|
committer | Nikolay Korolev <korolevns98@gmail.com> | 2019-12-07 00:12:30 +0300 |
commit | bfa88b52215aea2c889f70be9ab8dc6bdc67cd7b (patch) | |
tree | dbba7c40e2c5b8a2c1aea6db6d913e33f2919e93 /pygments/lexers/php.py | |
parent | ce17db4bde5602157bf261385dfc9206ad5fc709 (diff) | |
download | pygments-git-bfa88b52215aea2c889f70be9ab8dc6bdc67cd7b.tar.gz |
Fix valid_name regex for SLexer
This fixes #1331
All modifications to regex:
1. Delete 2 useless non-capturing groups
2. Variables can not start with underscore (_)
3. Only letters, dot (.) and underscore (_) can go after first dot (.) in name
4. Name from only one symbol dot (.) is possible
Diffstat (limited to 'pygments/lexers/php.py')
0 files changed, 0 insertions, 0 deletions