regexp_parser 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0863d48a164a3295b4c264d3fb934845b94919db'
4
- data.tar.gz: 1fa12fbac5b388c4abebbce54a048ee27bc7e8de
3
+ metadata.gz: 6ae8e83acbe2408fe68751defcfc31e4ed7fcfb1
4
+ data.tar.gz: 7440e764d81bc1319884e20b499119b06bd3b9df
5
5
  SHA512:
6
- metadata.gz: 81ba6db445a08a5b2d2562bca4fe539d3951ce42a202083d1888239221d3968ab23579efddfd17da7e90ae899acb4a9b1145cc79c65c9e6fd6d02d3c540af488
7
- data.tar.gz: f4bfaa14bed90304671f301d6846f80fd8c7a6c9ce47055b5a29f7018b85bc408d6894ce902f8badeb8cd5c5f638515296862343e614b15d08a04e1cca073605
6
+ metadata.gz: 8c0b907d78e4d3474d708dc6def35ef77b0482d51e2284f38ce7b4bb18beeb211aa60dc2c60e1ce90f4247de1578794ba8749f4c6099565774161c799c037d4b
7
+ data.tar.gz: 4c9c132a8d2a328a363e55d582657c49763780f2b595579512e82da8bfdfa3cbc8eedd79297fc226800cd27c6cc13fe23f1cb3cd85989cc5f741bfbeaa497316
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Mon Dec 25 2017 Janosch Müller <ammarabuali@gmail.com>
2
+
3
+ * Added ruby version file for 2.5.0
4
+ * Bumped version to 0.4.9
5
+
1
6
  Mon Dec 18 2017 Janosch Müller <janosch84@gmail.com>
2
7
 
3
8
  * Added ruby version files for 2.2.9, 2.3.6, and 2.4.3
@@ -1,8 +1,8 @@
1
1
  # -*- warn-indent:false; -*-
2
2
 
3
- # line 1 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3
+ # line 1 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4
4
 
5
- # line 771 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
5
+ # line 771 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
6
6
 
7
7
 
8
8
  # THIS IS A GENERATED FILE, DO NOT EDIT DIRECTLY
@@ -96,7 +96,7 @@ class Regexp::Scanner
96
96
  in_conditional, conditional_depth, conditional_stack = false, 0, []
97
97
 
98
98
 
99
- # line 99 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
99
+ # line 99 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
100
100
  class << self
101
101
  attr_accessor :_re_scanner_trans_keys
102
102
  private :_re_scanner_trans_keys, :_re_scanner_trans_keys=
@@ -1672,9 +1672,9 @@ end
1672
1672
  self.re_scanner_en_main = 142;
1673
1673
 
1674
1674
 
1675
- # line 864 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1675
+ # line 864 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1676
1676
 
1677
- # line 1677 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
1677
+ # line 1677 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
1678
1678
  begin
1679
1679
  p ||= 0
1680
1680
  pe ||= data.length
@@ -1685,9 +1685,9 @@ begin
1685
1685
  act = 0
1686
1686
  end
1687
1687
 
1688
- # line 865 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1688
+ # line 865 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1689
1689
 
1690
- # line 1690 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
1690
+ # line 1690 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
1691
1691
  begin
1692
1692
  testEof = false
1693
1693
  _slen, _trans, _keys, _inds, _acts, _nacts = nil
@@ -1715,7 +1715,7 @@ begin
1715
1715
  begin
1716
1716
  ts = p
1717
1717
  end
1718
- # line 1718 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
1718
+ # line 1718 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
1719
1719
  end
1720
1720
  _keys = cs << 1
1721
1721
  _inds = _re_scanner_index_offsets[cs]
@@ -1735,14 +1735,14 @@ ts = p
1735
1735
  if _re_scanner_trans_actions[_trans] != 0
1736
1736
  case _re_scanner_trans_actions[_trans]
1737
1737
  when 14 then
1738
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1738
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1739
1739
  begin
1740
1740
 
1741
1741
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
1742
1742
  raise PrematureEndError.new( text )
1743
1743
  end
1744
1744
  when 7 then
1745
- # line 147 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1745
+ # line 147 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
1746
1746
  begin
1747
1747
  @group_depth -= 1; @in_group = @group_depth > 0 ? true : false end
1748
1748
  when 18 then
@@ -1751,7 +1751,7 @@ ts = p
1751
1751
  te = p+1
1752
1752
  end
1753
1753
  when 16 then
1754
- # line 61 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/property.rl"
1754
+ # line 61 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
1755
1755
  begin
1756
1756
  te = p+1
1757
1757
  begin
@@ -2504,7 +2504,7 @@ te = p+1
2504
2504
  end
2505
2505
  end
2506
2506
  when 69 then
2507
- # line 153 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2507
+ # line 153 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2508
2508
  begin
2509
2509
  te = p+1
2510
2510
  begin
@@ -2532,7 +2532,7 @@ te = p+1
2532
2532
  end
2533
2533
  end
2534
2534
  when 73 then
2535
- # line 166 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2535
+ # line 166 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2536
2536
  begin
2537
2537
  te = p+1
2538
2538
  begin # special case, emits two tokens
@@ -2561,7 +2561,7 @@ te = p+1
2561
2561
  end
2562
2562
  end
2563
2563
  when 70 then
2564
- # line 180 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2564
+ # line 180 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2565
2565
  begin
2566
2566
  te = p+1
2567
2567
  begin
@@ -2574,7 +2574,7 @@ te = p+1
2574
2574
  end
2575
2575
  end
2576
2576
  when 19 then
2577
- # line 189 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2577
+ # line 189 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2578
2578
  begin
2579
2579
  te = p+1
2580
2580
  begin
@@ -2582,7 +2582,7 @@ te = p+1
2582
2582
  end
2583
2583
  end
2584
2584
  when 72 then
2585
- # line 193 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2585
+ # line 193 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2586
2586
  begin
2587
2587
  te = p+1
2588
2588
  begin
@@ -2590,7 +2590,7 @@ te = p+1
2590
2590
  end
2591
2591
  end
2592
2592
  when 68 then
2593
- # line 197 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2593
+ # line 197 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2594
2594
  begin
2595
2595
  te = p+1
2596
2596
  begin
@@ -2605,7 +2605,7 @@ te = p+1
2605
2605
  end
2606
2606
  end
2607
2607
  when 23 then
2608
- # line 209 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2608
+ # line 209 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2609
2609
  begin
2610
2610
  te = p+1
2611
2611
  begin
@@ -2621,7 +2621,7 @@ te = p+1
2621
2621
  end
2622
2622
  end
2623
2623
  when 22 then
2624
- # line 221 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2624
+ # line 221 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2625
2625
  begin
2626
2626
  te = p+1
2627
2627
  begin
@@ -2629,7 +2629,7 @@ te = p+1
2629
2629
  end
2630
2630
  end
2631
2631
  when 24 then
2632
- # line 225 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2632
+ # line 225 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2633
2633
  begin
2634
2634
  te = p+1
2635
2635
  begin
@@ -2637,7 +2637,7 @@ te = p+1
2637
2637
  end
2638
2638
  end
2639
2639
  when 67 then
2640
- # line 231 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2640
+ # line 231 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2641
2641
  begin
2642
2642
  te = p+1
2643
2643
  begin
@@ -2645,7 +2645,7 @@ te = p+1
2645
2645
  end
2646
2646
  end
2647
2647
  when 66 then
2648
- # line 239 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2648
+ # line 239 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2649
2649
  begin
2650
2650
  te = p+1
2651
2651
  begin
@@ -2653,7 +2653,7 @@ te = p+1
2653
2653
  end
2654
2654
  end
2655
2655
  when 75 then
2656
- # line 201 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2656
+ # line 201 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2657
2657
  begin
2658
2658
  te = p
2659
2659
  p = p - 1; begin
@@ -2672,7 +2672,7 @@ p = p - 1; begin
2672
2672
  end
2673
2673
  end
2674
2674
  when 71 then
2675
- # line 239 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2675
+ # line 239 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2676
2676
  begin
2677
2677
  te = p
2678
2678
  p = p - 1; begin
@@ -2680,7 +2680,7 @@ p = p - 1; begin
2680
2680
  end
2681
2681
  end
2682
2682
  when 21 then
2683
- # line 201 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2683
+ # line 201 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2684
2684
  begin
2685
2685
  begin p = ((te))-1; end
2686
2686
  begin
@@ -2699,7 +2699,7 @@ p = p - 1; begin
2699
2699
  end
2700
2700
  end
2701
2701
  when 17 then
2702
- # line 239 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2702
+ # line 239 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2703
2703
  begin
2704
2704
  begin p = ((te))-1; end
2705
2705
  begin
@@ -2707,7 +2707,7 @@ p = p - 1; begin
2707
2707
  end
2708
2708
  end
2709
2709
  when 80 then
2710
- # line 247 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2710
+ # line 247 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2711
2711
  begin
2712
2712
  te = p+1
2713
2713
  begin
@@ -2722,7 +2722,7 @@ te = p+1
2722
2722
  end
2723
2723
  end
2724
2724
  when 78 then
2725
- # line 252 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2725
+ # line 252 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2726
2726
  begin
2727
2727
  te = p+1
2728
2728
  begin
@@ -2748,7 +2748,7 @@ te = p+1
2748
2748
  end
2749
2749
  end
2750
2750
  when 84 then
2751
- # line 268 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2751
+ # line 268 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2752
2752
  begin
2753
2753
  te = p+1
2754
2754
  begin
@@ -2763,7 +2763,7 @@ te = p+1
2763
2763
  end
2764
2764
  end
2765
2765
  when 76 then
2766
- # line 278 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2766
+ # line 278 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2767
2767
  begin
2768
2768
  te = p+1
2769
2769
  begin
@@ -2778,7 +2778,7 @@ te = p+1
2778
2778
  end
2779
2779
  end
2780
2780
  when 79 then
2781
- # line 283 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2781
+ # line 283 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2782
2782
  begin
2783
2783
  te = p+1
2784
2784
  begin
@@ -2795,7 +2795,7 @@ te = p+1
2795
2795
  end
2796
2796
  end
2797
2797
  when 83 then
2798
- # line 268 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2798
+ # line 268 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2799
2799
  begin
2800
2800
  te = p
2801
2801
  p = p - 1; begin
@@ -2810,7 +2810,7 @@ p = p - 1; begin
2810
2810
  end
2811
2811
  end
2812
2812
  when 82 then
2813
- # line 273 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2813
+ # line 273 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2814
2814
  begin
2815
2815
  te = p
2816
2816
  p = p - 1; begin
@@ -2825,7 +2825,7 @@ p = p - 1; begin
2825
2825
  end
2826
2826
  end
2827
2827
  when 81 then
2828
- # line 294 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2828
+ # line 294 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2829
2829
  begin
2830
2830
  te = p
2831
2831
  p = p - 1; begin
@@ -2840,7 +2840,7 @@ p = p - 1; begin
2840
2840
  end
2841
2841
  end
2842
2842
  when 27 then
2843
- # line 273 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2843
+ # line 273 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2844
2844
  begin
2845
2845
  begin p = ((te))-1; end
2846
2846
  begin
@@ -2892,7 +2892,7 @@ end
2892
2892
  end
2893
2893
  end
2894
2894
  when 89 then
2895
- # line 304 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2895
+ # line 304 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2896
2896
  begin
2897
2897
  te = p+1
2898
2898
  begin
@@ -2908,7 +2908,7 @@ te = p+1
2908
2908
  end
2909
2909
  end
2910
2910
  when 94 then
2911
- # line 310 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2911
+ # line 310 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2912
2912
  begin
2913
2913
  te = p+1
2914
2914
  begin
@@ -2923,7 +2923,7 @@ te = p+1
2923
2923
  end
2924
2924
  end
2925
2925
  when 86 then
2926
- # line 315 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2926
+ # line 315 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2927
2927
  begin
2928
2928
  te = p+1
2929
2929
  begin
@@ -2954,7 +2954,7 @@ te = p+1
2954
2954
  end
2955
2955
  end
2956
2956
  when 91 then
2957
- # line 336 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2957
+ # line 336 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2958
2958
  begin
2959
2959
  te = p+1
2960
2960
  begin
@@ -2980,7 +2980,7 @@ te = p+1
2980
2980
  end
2981
2981
  end
2982
2982
  when 34 then
2983
- # line 352 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2983
+ # line 352 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
2984
2984
  begin
2985
2985
  te = p+1
2986
2986
  begin
@@ -3000,7 +3000,7 @@ te = p+1
3000
3000
  end
3001
3001
  end
3002
3002
  when 101 then
3003
- # line 362 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3003
+ # line 362 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3004
3004
  begin
3005
3005
  te = p+1
3006
3006
  begin
@@ -3015,7 +3015,7 @@ te = p+1
3015
3015
  end
3016
3016
  end
3017
3017
  when 104 then
3018
- # line 367 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3018
+ # line 367 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3019
3019
  begin
3020
3020
  te = p+1
3021
3021
  begin
@@ -3030,7 +3030,7 @@ te = p+1
3030
3030
  end
3031
3031
  end
3032
3032
  when 36 then
3033
- # line 376 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3033
+ # line 376 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3034
3034
  begin
3035
3035
  te = p+1
3036
3036
  begin
@@ -3045,7 +3045,7 @@ te = p+1
3045
3045
  end
3046
3046
  end
3047
3047
  when 30 then
3048
- # line 381 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3048
+ # line 381 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3049
3049
  begin
3050
3050
  te = p+1
3051
3051
  begin
@@ -3070,7 +3070,7 @@ te = p+1
3070
3070
  end
3071
3071
  end
3072
3072
  when 33 then
3073
- # line 396 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3073
+ # line 396 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3074
3074
  begin
3075
3075
  te = p+1
3076
3076
  begin
@@ -3095,7 +3095,7 @@ te = p+1
3095
3095
  end
3096
3096
  end
3097
3097
  when 90 then
3098
- # line 411 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3098
+ # line 411 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3099
3099
  begin
3100
3100
  te = p+1
3101
3101
  begin
@@ -3112,7 +3112,7 @@ te = p+1
3112
3112
  end
3113
3113
  end
3114
3114
  when 85 then
3115
- # line 417 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3115
+ # line 417 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3116
3116
  begin
3117
3117
  te = p+1
3118
3118
  begin
@@ -3127,7 +3127,7 @@ te = p+1
3127
3127
  end
3128
3128
  end
3129
3129
  when 93 then
3130
- # line 310 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3130
+ # line 310 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3131
3131
  begin
3132
3132
  te = p
3133
3133
  p = p - 1; begin
@@ -3142,7 +3142,7 @@ p = p - 1; begin
3142
3142
  end
3143
3143
  end
3144
3144
  when 100 then
3145
- # line 362 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3145
+ # line 362 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3146
3146
  begin
3147
3147
  te = p
3148
3148
  p = p - 1; begin
@@ -3157,7 +3157,7 @@ p = p - 1; begin
3157
3157
  end
3158
3158
  end
3159
3159
  when 102 then
3160
- # line 376 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3160
+ # line 376 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3161
3161
  begin
3162
3162
  te = p
3163
3163
  p = p - 1; begin
@@ -3172,7 +3172,7 @@ p = p - 1; begin
3172
3172
  end
3173
3173
  end
3174
3174
  when 96 then
3175
- # line 381 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3175
+ # line 381 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3176
3176
  begin
3177
3177
  te = p
3178
3178
  p = p - 1; begin
@@ -3197,7 +3197,7 @@ p = p - 1; begin
3197
3197
  end
3198
3198
  end
3199
3199
  when 98 then
3200
- # line 396 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3200
+ # line 396 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3201
3201
  begin
3202
3202
  te = p
3203
3203
  p = p - 1; begin
@@ -3222,7 +3222,7 @@ p = p - 1; begin
3222
3222
  end
3223
3223
  end
3224
3224
  when 37 then
3225
- # line 376 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3225
+ # line 376 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3226
3226
  begin
3227
3227
  begin p = ((te))-1; end
3228
3228
  begin
@@ -3237,7 +3237,7 @@ p = p - 1; begin
3237
3237
  end
3238
3238
  end
3239
3239
  when 29 then
3240
- # line 381 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3240
+ # line 381 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3241
3241
  begin
3242
3242
  begin p = ((te))-1; end
3243
3243
  begin
@@ -3262,7 +3262,7 @@ p = p - 1; begin
3262
3262
  end
3263
3263
  end
3264
3264
  when 32 then
3265
- # line 396 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3265
+ # line 396 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3266
3266
  begin
3267
3267
  begin p = ((te))-1; end
3268
3268
  begin
@@ -3318,7 +3318,7 @@ p = p - 1; begin
3318
3318
  end
3319
3319
  end
3320
3320
  when 39 then
3321
- # line 427 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3321
+ # line 427 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3322
3322
  begin
3323
3323
  te = p+1
3324
3324
  begin
@@ -3328,7 +3328,7 @@ te = p+1
3328
3328
  end
3329
3329
  end
3330
3330
  when 105 then
3331
- # line 433 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3331
+ # line 433 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3332
3332
  begin
3333
3333
  te = p+1
3334
3334
  begin
@@ -3344,7 +3344,7 @@ te = p+1
3344
3344
  end
3345
3345
  end
3346
3346
  when 106 then
3347
- # line 433 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3347
+ # line 433 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3348
3348
  begin
3349
3349
  te = p
3350
3350
  p = p - 1; begin
@@ -3360,7 +3360,7 @@ p = p - 1; begin
3360
3360
  end
3361
3361
  end
3362
3362
  when 38 then
3363
- # line 433 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3363
+ # line 433 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3364
3364
  begin
3365
3365
  begin p = ((te))-1; end
3366
3366
  begin
@@ -3376,7 +3376,7 @@ p = p - 1; begin
3376
3376
  end
3377
3377
  end
3378
3378
  when 45 then
3379
- # line 446 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3379
+ # line 446 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3380
3380
  begin
3381
3381
  te = p+1
3382
3382
  begin
@@ -3384,7 +3384,7 @@ te = p+1
3384
3384
  end
3385
3385
  end
3386
3386
  when 48 then
3387
- # line 450 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3387
+ # line 450 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3388
3388
  begin
3389
3389
  te = p+1
3390
3390
  begin
@@ -3397,7 +3397,7 @@ te = p+1
3397
3397
  end
3398
3398
  end
3399
3399
  when 47 then
3400
- # line 461 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3400
+ # line 461 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3401
3401
  begin
3402
3402
  te = p+1
3403
3403
  begin
@@ -3405,7 +3405,7 @@ te = p+1
3405
3405
  end
3406
3406
  end
3407
3407
  when 42 then
3408
- # line 465 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3408
+ # line 465 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3409
3409
  begin
3410
3410
  te = p+1
3411
3411
  begin
@@ -3413,7 +3413,7 @@ te = p+1
3413
3413
  end
3414
3414
  end
3415
3415
  when 62 then
3416
- # line 469 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3416
+ # line 469 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3417
3417
  begin
3418
3418
  te = p+1
3419
3419
  begin
@@ -3421,7 +3421,7 @@ te = p+1
3421
3421
  end
3422
3422
  end
3423
3423
  when 60 then
3424
- # line 473 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3424
+ # line 473 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3425
3425
  begin
3426
3426
  te = p+1
3427
3427
  begin
@@ -3439,7 +3439,7 @@ te = p+1
3439
3439
  end
3440
3440
  end
3441
3441
  when 61 then
3442
- # line 493 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3442
+ # line 493 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3443
3443
  begin
3444
3444
  te = p+1
3445
3445
  begin
@@ -3461,7 +3461,7 @@ te = p+1
3461
3461
  end
3462
3462
  end
3463
3463
  when 46 then
3464
- # line 514 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3464
+ # line 514 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3465
3465
  begin
3466
3466
  te = p+1
3467
3467
  begin
@@ -3480,7 +3480,7 @@ te = p+1
3480
3480
  end
3481
3481
  end
3482
3482
  when 8 then
3483
- # line 526 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3483
+ # line 526 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3484
3484
  begin
3485
3485
  te = p+1
3486
3486
  begin
@@ -3503,7 +3503,7 @@ te = p+1
3503
3503
  end
3504
3504
  end
3505
3505
  when 9 then
3506
- # line 559 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3506
+ # line 559 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3507
3507
  begin
3508
3508
  te = p+1
3509
3509
  begin
@@ -3511,7 +3511,7 @@ te = p+1
3511
3511
  end
3512
3512
  end
3513
3513
  when 6 then
3514
- # line 569 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3514
+ # line 569 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3515
3515
  begin
3516
3516
  te = p+1
3517
3517
  begin
@@ -3524,7 +3524,7 @@ te = p+1
3524
3524
  end
3525
3525
  end
3526
3526
  when 10 then
3527
- # line 586 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3527
+ # line 586 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3528
3528
  begin
3529
3529
  te = p+1
3530
3530
  begin
@@ -3550,7 +3550,7 @@ te = p+1
3550
3550
  end
3551
3551
  end
3552
3552
  when 13 then
3553
- # line 638 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3553
+ # line 638 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3554
3554
  begin
3555
3555
  te = p+1
3556
3556
  begin
@@ -3622,7 +3622,7 @@ te = p+1
3622
3622
  end
3623
3623
  end
3624
3624
  when 58 then
3625
- # line 709 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3625
+ # line 709 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3626
3626
  begin
3627
3627
  te = p+1
3628
3628
  begin
@@ -3634,7 +3634,7 @@ te = p+1
3634
3634
  end
3635
3635
  end
3636
3636
  when 54 then
3637
- # line 717 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3637
+ # line 717 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3638
3638
  begin
3639
3639
  te = p+1
3640
3640
  begin
@@ -3646,7 +3646,7 @@ te = p+1
3646
3646
  end
3647
3647
  end
3648
3648
  when 56 then
3649
- # line 725 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3649
+ # line 725 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3650
3650
  begin
3651
3651
  te = p+1
3652
3652
  begin
@@ -3658,7 +3658,7 @@ te = p+1
3658
3658
  end
3659
3659
  end
3660
3660
  when 64 then
3661
- # line 733 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3661
+ # line 733 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3662
3662
  begin
3663
3663
  te = p+1
3664
3664
  begin
@@ -3666,7 +3666,7 @@ te = p+1
3666
3666
  end
3667
3667
  end
3668
3668
  when 4 then
3669
- # line 743 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3669
+ # line 743 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3670
3670
  begin
3671
3671
  te = p+1
3672
3672
  begin
@@ -3678,7 +3678,7 @@ te = p+1
3678
3678
  end
3679
3679
  end
3680
3680
  when 51 then
3681
- # line 608 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3681
+ # line 608 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3682
3682
  begin
3683
3683
  te = p
3684
3684
  p = p - 1; begin
@@ -3687,7 +3687,7 @@ p = p - 1; begin
3687
3687
  end
3688
3688
  end
3689
3689
  when 57 then
3690
- # line 709 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3690
+ # line 709 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3691
3691
  begin
3692
3692
  te = p
3693
3693
  p = p - 1; begin
@@ -3699,7 +3699,7 @@ p = p - 1; begin
3699
3699
  end
3700
3700
  end
3701
3701
  when 53 then
3702
- # line 717 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3702
+ # line 717 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3703
3703
  begin
3704
3704
  te = p
3705
3705
  p = p - 1; begin
@@ -3711,7 +3711,7 @@ p = p - 1; begin
3711
3711
  end
3712
3712
  end
3713
3713
  when 55 then
3714
- # line 725 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3714
+ # line 725 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3715
3715
  begin
3716
3716
  te = p
3717
3717
  p = p - 1; begin
@@ -3723,7 +3723,7 @@ p = p - 1; begin
3723
3723
  end
3724
3724
  end
3725
3725
  when 63 then
3726
- # line 733 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3726
+ # line 733 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3727
3727
  begin
3728
3728
  te = p
3729
3729
  p = p - 1; begin
@@ -3731,7 +3731,7 @@ p = p - 1; begin
3731
3731
  end
3732
3732
  end
3733
3733
  when 59 then
3734
- # line 739 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3734
+ # line 739 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3735
3735
  begin
3736
3736
  te = p
3737
3737
  p = p - 1; begin
@@ -3746,7 +3746,7 @@ p = p - 1; begin
3746
3746
  end
3747
3747
  end
3748
3748
  when 50 then
3749
- # line 751 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3749
+ # line 751 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3750
3750
  begin
3751
3751
  te = p
3752
3752
  p = p - 1; begin
@@ -3758,7 +3758,7 @@ p = p - 1; begin
3758
3758
  end
3759
3759
  end
3760
3760
  when 49 then
3761
- # line 766 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3761
+ # line 766 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3762
3762
  begin
3763
3763
  te = p
3764
3764
  p = p - 1; begin
@@ -3766,7 +3766,7 @@ p = p - 1; begin
3766
3766
  end
3767
3767
  end
3768
3768
  when 5 then
3769
- # line 608 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3769
+ # line 608 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3770
3770
  begin
3771
3771
  begin p = ((te))-1; end
3772
3772
  begin
@@ -3775,7 +3775,7 @@ p = p - 1; begin
3775
3775
  end
3776
3776
  end
3777
3777
  when 12 then
3778
- # line 739 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3778
+ # line 739 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3779
3779
  begin
3780
3780
  begin p = ((te))-1; end
3781
3781
  begin
@@ -3790,7 +3790,7 @@ p = p - 1; begin
3790
3790
  end
3791
3791
  end
3792
3792
  when 3 then
3793
- # line 766 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3793
+ # line 766 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3794
3794
  begin
3795
3795
  begin p = ((te))-1; end
3796
3796
  begin
@@ -3816,13 +3816,13 @@ end
3816
3816
  end
3817
3817
  end
3818
3818
  when 74 then
3819
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3819
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3820
3820
  begin
3821
3821
 
3822
3822
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3823
3823
  raise PrematureEndError.new( text )
3824
3824
  end
3825
- # line 201 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3825
+ # line 201 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3826
3826
  begin
3827
3827
  te = p
3828
3828
  p = p - 1; begin
@@ -3841,13 +3841,13 @@ p = p - 1; begin
3841
3841
  end
3842
3842
  end
3843
3843
  when 20 then
3844
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3844
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3845
3845
  begin
3846
3846
 
3847
3847
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3848
3848
  raise PrematureEndError.new( text )
3849
3849
  end
3850
- # line 201 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3850
+ # line 201 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3851
3851
  begin
3852
3852
  begin p = ((te))-1; end
3853
3853
  begin
@@ -3866,13 +3866,13 @@ p = p - 1; begin
3866
3866
  end
3867
3867
  end
3868
3868
  when 99 then
3869
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3869
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3870
3870
  begin
3871
3871
 
3872
3872
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3873
3873
  raise PrematureEndError.new( text )
3874
3874
  end
3875
- # line 362 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3875
+ # line 362 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3876
3876
  begin
3877
3877
  te = p
3878
3878
  p = p - 1; begin
@@ -3887,13 +3887,13 @@ p = p - 1; begin
3887
3887
  end
3888
3888
  end
3889
3889
  when 103 then
3890
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3890
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3891
3891
  begin
3892
3892
 
3893
3893
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3894
3894
  raise PrematureEndError.new( text )
3895
3895
  end
3896
- # line 376 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3896
+ # line 376 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3897
3897
  begin
3898
3898
  te = p
3899
3899
  p = p - 1; begin
@@ -3908,13 +3908,13 @@ p = p - 1; begin
3908
3908
  end
3909
3909
  end
3910
3910
  when 95 then
3911
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3911
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3912
3912
  begin
3913
3913
 
3914
3914
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3915
3915
  raise PrematureEndError.new( text )
3916
3916
  end
3917
- # line 381 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3917
+ # line 381 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3918
3918
  begin
3919
3919
  te = p
3920
3920
  p = p - 1; begin
@@ -3939,13 +3939,13 @@ p = p - 1; begin
3939
3939
  end
3940
3940
  end
3941
3941
  when 97 then
3942
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3942
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3943
3943
  begin
3944
3944
 
3945
3945
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3946
3946
  raise PrematureEndError.new( text )
3947
3947
  end
3948
- # line 396 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3948
+ # line 396 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3949
3949
  begin
3950
3950
  te = p
3951
3951
  p = p - 1; begin
@@ -3970,13 +3970,13 @@ p = p - 1; begin
3970
3970
  end
3971
3971
  end
3972
3972
  when 28 then
3973
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3973
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3974
3974
  begin
3975
3975
 
3976
3976
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
3977
3977
  raise PrematureEndError.new( text )
3978
3978
  end
3979
- # line 381 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3979
+ # line 381 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
3980
3980
  begin
3981
3981
  begin p = ((te))-1; end
3982
3982
  begin
@@ -4001,13 +4001,13 @@ p = p - 1; begin
4001
4001
  end
4002
4002
  end
4003
4003
  when 31 then
4004
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4004
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4005
4005
  begin
4006
4006
 
4007
4007
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
4008
4008
  raise PrematureEndError.new( text )
4009
4009
  end
4010
- # line 396 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4010
+ # line 396 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4011
4011
  begin
4012
4012
  begin p = ((te))-1; end
4013
4013
  begin
@@ -4032,13 +4032,13 @@ p = p - 1; begin
4032
4032
  end
4033
4033
  end
4034
4034
  when 35 then
4035
- # line 140 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4035
+ # line 140 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4036
4036
  begin
4037
4037
 
4038
4038
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
4039
4039
  raise InvalidSequenceError.new('sequence', text)
4040
4040
  end
4041
- # line 372 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4041
+ # line 372 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4042
4042
  begin
4043
4043
  te = p+1
4044
4044
  begin
@@ -4052,17 +4052,17 @@ te = p+1
4052
4052
  end
4053
4053
  end
4054
4054
  when 52 then
4055
- # line 147 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4055
+ # line 147 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4056
4056
  begin
4057
4057
  @group_depth -= 1; @in_group = @group_depth > 0 ? true : false end
4058
- # line 146 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4058
+ # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4059
4059
  begin
4060
4060
  @group_depth += 1; @in_group = true end
4061
4061
  when 11 then
4062
- # line 147 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4062
+ # line 147 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4063
4063
  begin
4064
4064
  @group_depth -= 1; @in_group = @group_depth > 0 ? true : false end
4065
- # line 544 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4065
+ # line 544 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4066
4066
  begin
4067
4067
  te = p+1
4068
4068
  begin
@@ -4070,10 +4070,10 @@ te = p+1
4070
4070
  end
4071
4071
  end
4072
4072
  when 44 then
4073
- # line 147 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4073
+ # line 147 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4074
4074
  begin
4075
4075
  @group_depth -= 1; @in_group = @group_depth > 0 ? true : false end
4076
- # line 613 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4076
+ # line 613 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4077
4077
  begin
4078
4078
  te = p+1
4079
4079
  begin
@@ -4103,7 +4103,7 @@ te = p+1
4103
4103
  begin
4104
4104
  te = p+1
4105
4105
  end
4106
- # line 146 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4106
+ # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4107
4107
  begin
4108
4108
  @group_depth += 1; @in_group = true end
4109
4109
  when 77 then
@@ -4111,7 +4111,7 @@ te = p+1
4111
4111
  begin
4112
4112
  te = p+1
4113
4113
  end
4114
- # line 278 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4114
+ # line 278 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4115
4115
  begin
4116
4116
  act = 18; end
4117
4117
  when 26 then
@@ -4119,7 +4119,7 @@ act = 18; end
4119
4119
  begin
4120
4120
  te = p+1
4121
4121
  end
4122
- # line 294 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4122
+ # line 294 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4123
4123
  begin
4124
4124
  act = 20; end
4125
4125
  when 88 then
@@ -4127,7 +4127,7 @@ act = 20; end
4127
4127
  begin
4128
4128
  te = p+1
4129
4129
  end
4130
- # line 304 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4130
+ # line 304 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4131
4131
  begin
4132
4132
  act = 21; end
4133
4133
  when 87 then
@@ -4135,7 +4135,7 @@ act = 21; end
4135
4135
  begin
4136
4136
  te = p+1
4137
4137
  end
4138
- # line 310 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4138
+ # line 310 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4139
4139
  begin
4140
4140
  act = 22; end
4141
4141
  when 2 then
@@ -4143,10 +4143,10 @@ act = 22; end
4143
4143
  begin
4144
4144
  te = p+1
4145
4145
  end
4146
- # line 766 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4146
+ # line 766 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4147
4147
  begin
4148
4148
  act = 59; end
4149
- # line 4149 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
4149
+ # line 4149 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
4150
4150
  end
4151
4151
  end
4152
4152
  end
@@ -4164,7 +4164,7 @@ ts = nil; end
4164
4164
  begin
4165
4165
  act = 0
4166
4166
  end
4167
- # line 4167 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
4167
+ # line 4167 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
4168
4168
  end
4169
4169
 
4170
4170
  if cs == 0
@@ -4186,19 +4186,19 @@ act = 0
4186
4186
  end
4187
4187
  case _re_scanner_eof_actions[cs]
4188
4188
  when 15 then
4189
- # line 53 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/property.rl"
4189
+ # line 53 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
4190
4190
  begin
4191
4191
 
4192
4192
  raise PrematureEndError.new('unicode property')
4193
4193
  end
4194
4194
  when 14 then
4195
- # line 134 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4195
+ # line 134 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4196
4196
  begin
4197
4197
 
4198
4198
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
4199
4199
  raise PrematureEndError.new( text )
4200
4200
  end
4201
- # line 4201 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner.rb"
4201
+ # line 4201 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
4202
4202
  end
4203
4203
  end
4204
4204
 
@@ -4209,7 +4209,7 @@ act = 0
4209
4209
  end
4210
4210
  end
4211
4211
 
4212
- # line 866 "/Users/jannoschmuller/code/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4212
+ # line 866 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
4213
4213
 
4214
4214
  if cs == re_scanner_error
4215
4215
  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
@@ -0,0 +1,13 @@
1
+ require File.expand_path('../2.4', __FILE__)
2
+
3
+ module Regexp::Syntax
4
+ module Ruby
5
+
6
+ class V250 < Regexp::Syntax::Ruby::V24
7
+ def initialize
8
+ super
9
+ end
10
+ end
11
+
12
+ end
13
+ end
@@ -0,0 +1,8 @@
1
+ require File.expand_path('../2.5.0', __FILE__)
2
+
3
+ module Regexp::Syntax
4
+ module Ruby
5
+ # uses the latest 2.5 release
6
+ class V25 < Regexp::Syntax::Ruby::V250; end
7
+ end
8
+ end
@@ -73,6 +73,12 @@ module Regexp::Syntax
73
73
 
74
74
  # alias for the latest 2.4 implementation
75
75
  'ruby/2.4',
76
+
77
+ # Ruby 2.5.x
78
+ 'ruby/2.5.0',
79
+
80
+ # alias for the latest 2.5 implementation
81
+ 'ruby/2.5',
76
82
  ]
77
83
 
78
84
  end
@@ -1,5 +1,5 @@
1
1
  class Regexp
2
2
  class Parser
3
- VERSION = '0.4.8'
3
+ VERSION = '0.4.9'
4
4
  end
5
5
  end
@@ -294,4 +294,18 @@ class TestSyntaxFiles < Test::Unit::TestCase
294
294
 
295
295
  assert syntax.kind_of?(Regexp::Syntax::Ruby::V243)
296
296
  end
297
+
298
+ # 2.5 syntax files
299
+ def test_syntax_file_2_5_0
300
+ syntax = Regexp::Syntax.new 'ruby/2.5.0'
301
+
302
+ assert syntax.kind_of?(Regexp::Syntax::Ruby::V24)
303
+ assert syntax.kind_of?(Regexp::Syntax::Ruby::V250)
304
+ end
305
+
306
+ def test_syntax_file_2_5_alias
307
+ syntax = Regexp::Syntax.new 'ruby/2.5'
308
+
309
+ assert syntax.kind_of?(Regexp::Syntax::Ruby::V250)
310
+ end
297
311
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: regexp_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ammar Ali
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-18 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
14
14
  email:
@@ -95,6 +95,8 @@ files:
95
95
  - lib/regexp_parser/syntax/ruby/2.4.2.rb
96
96
  - lib/regexp_parser/syntax/ruby/2.4.3.rb
97
97
  - lib/regexp_parser/syntax/ruby/2.4.rb
98
+ - lib/regexp_parser/syntax/ruby/2.5.0.rb
99
+ - lib/regexp_parser/syntax/ruby/2.5.rb
98
100
  - lib/regexp_parser/syntax/tokens.rb
99
101
  - lib/regexp_parser/syntax/tokens/anchor.rb
100
102
  - lib/regexp_parser/syntax/tokens/assertion.rb
@@ -205,68 +207,68 @@ signing_key:
205
207
  specification_version: 4
206
208
  summary: Scanner, lexer, parser for ruby's regular expressions
207
209
  test_files:
208
- - test/token/test_token.rb
209
- - test/token/test_all.rb
210
+ - test/expression/test_all.rb
211
+ - test/expression/test_base.rb
212
+ - test/expression/test_clone.rb
213
+ - test/expression/test_conditionals.rb
214
+ - test/expression/test_free_space.rb
215
+ - test/expression/test_set.rb
216
+ - test/expression/test_strfregexp.rb
217
+ - test/expression/test_subexpression.rb
218
+ - test/expression/test_tests.rb
219
+ - test/expression/test_to_h.rb
220
+ - test/expression/test_to_s.rb
221
+ - test/expression/test_traverse.rb
210
222
  - test/helpers.rb
211
- - test/lexer/test_keep.rb
223
+ - test/lexer/test_all.rb
212
224
  - test/lexer/test_conditionals.rb
213
- - test/lexer/test_refcalls.rb
225
+ - test/lexer/test_keep.rb
214
226
  - test/lexer/test_literals.rb
215
- - test/lexer/test_all.rb
216
227
  - test/lexer/test_nesting.rb
217
- - test/parser/test_sets.rb
218
- - test/parser/test_properties.rb
219
- - test/parser/test_types.rb
220
- - test/parser/test_groups.rb
228
+ - test/lexer/test_refcalls.rb
229
+ - test/parser/test_all.rb
221
230
  - test/parser/test_alternation.rb
222
- - test/parser/test_free_space.rb
223
231
  - test/parser/test_anchors.rb
224
- - test/parser/test_escapes.rb
225
- - test/parser/test_quantifiers.rb
226
- - test/parser/test_keep.rb
227
232
  - test/parser/test_conditionals.rb
228
233
  - test/parser/test_errors.rb
234
+ - test/parser/test_escapes.rb
235
+ - test/parser/test_free_space.rb
236
+ - test/parser/test_groups.rb
237
+ - test/parser/test_keep.rb
238
+ - test/parser/test_properties.rb
239
+ - test/parser/test_quantifiers.rb
229
240
  - test/parser/test_refcalls.rb
230
- - test/parser/test_all.rb
241
+ - test/parser/test_sets.rb
242
+ - test/parser/test_types.rb
243
+ - test/scanner/test_all.rb
244
+ - test/scanner/test_anchors.rb
245
+ - test/scanner/test_conditionals.rb
246
+ - test/scanner/test_errors.rb
247
+ - test/scanner/test_escapes.rb
248
+ - test/scanner/test_free_space.rb
249
+ - test/scanner/test_groups.rb
250
+ - test/scanner/test_keep.rb
251
+ - test/scanner/test_literals.rb
252
+ - test/scanner/test_meta.rb
253
+ - test/scanner/test_properties.rb
254
+ - test/scanner/test_quantifiers.rb
255
+ - test/scanner/test_refcalls.rb
256
+ - test/scanner/test_scripts.rb
257
+ - test/scanner/test_sets.rb
258
+ - test/scanner/test_types.rb
259
+ - test/scanner/test_unicode_blocks.rb
231
260
  - test/support/disable_autotest.rb
232
- - test/support/warning_extractor.rb
233
261
  - test/support/runner.rb
234
- - test/expression/test_subexpression.rb
235
- - test/expression/test_base.rb
236
- - test/expression/test_free_space.rb
237
- - test/expression/test_to_h.rb
238
- - test/expression/test_set.rb
239
- - test/expression/test_conditionals.rb
240
- - test/expression/test_clone.rb
241
- - test/expression/test_tests.rb
242
- - test/expression/test_to_s.rb
243
- - test/expression/test_traverse.rb
244
- - test/expression/test_all.rb
245
- - test/expression/test_strfregexp.rb
246
- - test/syntax/test_syntax.rb
247
- - test/syntax/test_all.rb
248
- - test/syntax/ruby/test_2.0.0.rb
262
+ - test/support/warning_extractor.rb
249
263
  - test/syntax/ruby/test_1.8.rb
250
264
  - test/syntax/ruby/test_1.9.1.rb
251
- - test/syntax/ruby/test_files.rb
252
- - test/syntax/ruby/test_2.2.0.rb
253
265
  - test/syntax/ruby/test_1.9.3.rb
266
+ - test/syntax/ruby/test_2.0.0.rb
267
+ - test/syntax/ruby/test_2.2.0.rb
254
268
  - test/syntax/ruby/test_all.rb
269
+ - test/syntax/ruby/test_files.rb
270
+ - test/syntax/test_all.rb
271
+ - test/syntax/test_syntax.rb
255
272
  - test/test_all.rb
256
- - test/scanner/test_sets.rb
257
- - test/scanner/test_properties.rb
258
- - test/scanner/test_scripts.rb
259
- - test/scanner/test_types.rb
260
- - test/scanner/test_groups.rb
261
- - test/scanner/test_meta.rb
262
- - test/scanner/test_free_space.rb
263
- - test/scanner/test_anchors.rb
264
- - test/scanner/test_escapes.rb
265
- - test/scanner/test_unicode_blocks.rb
266
- - test/scanner/test_quantifiers.rb
267
- - test/scanner/test_keep.rb
268
- - test/scanner/test_conditionals.rb
269
- - test/scanner/test_errors.rb
270
- - test/scanner/test_refcalls.rb
271
- - test/scanner/test_literals.rb
272
- - test/scanner/test_all.rb
273
+ - test/token/test_all.rb
274
+ - test/token/test_token.rb