pygments.rb 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/pygments/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
363aafdb9e13
|
@@ -1430,8 +1430,8 @@ class ClojureLexer(RegexLexer):
|
|
1430
1430
|
valid_name = r'[\w!$%*+,<=>?/.-]+'
|
1431
1431
|
|
1432
1432
|
def _multi_escape(entries):
|
1433
|
-
return '|'.join(
|
1434
|
-
|
1433
|
+
return '(?:' + '|'.join(map(re.escape, entries)) + \
|
1434
|
+
')?![\\w!$%*+,<=>?/.-]'
|
1435
1435
|
|
1436
1436
|
tokens = {
|
1437
1437
|
'root' : [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pygments.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aman Gupta
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-27 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -381,7 +381,7 @@ files:
|
|
381
381
|
- vendor/pygments-main/tests/test_token.py
|
382
382
|
- vendor/pygments-main/tests/test_using_api.py
|
383
383
|
- vendor/pygments-main/tests/test_util.py
|
384
|
-
has_rdoc:
|
384
|
+
has_rdoc: true
|
385
385
|
homepage: http://github.com/tmm1/pygments.rb
|
386
386
|
licenses: []
|
387
387
|
|