pygments.rb 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Pygments
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
@@ -1 +1 @@
1
- db34feabe4b8
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([re.escape(entry) + '(?![\\w-!$%*+,<=>?/.-])'
1434
- for entry in entries])
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.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-22 00:00:00 +01:00
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: false
384
+ has_rdoc: true
385
385
  homepage: http://github.com/tmm1/pygments.rb
386
386
  licenses: []
387
387