regexp_parser 0.3.1 → 0.3.2
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.
- checksums.yaml +4 -4
- data/ChangeLog +6 -0
- data/README.md +2 -2
- data/lib/regexp_parser/scanner.rb +118 -118
- data/lib/regexp_parser/syntax.rb +13 -2
- data/lib/regexp_parser/syntax/ruby/2.1.8.rb +13 -0
- data/lib/regexp_parser/syntax/ruby/2.1.rb +2 -2
- data/lib/regexp_parser/syntax/ruby/2.2.4.rb +13 -0
- data/lib/regexp_parser/syntax/ruby/2.2.rb +2 -2
- data/lib/regexp_parser/syntax/ruby/2.3.0.rb +13 -0
- data/lib/regexp_parser/syntax/ruby/2.3.rb +8 -0
- data/lib/regexp_parser/version.rb +1 -1
- data/test/syntax/ruby/test_files.rb +38 -2
- data/test/syntax/test_all.rb +6 -0
- metadata +7 -3
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 6e08ec36fa35ff3e4f269ee3b086912b4b13679b
         | 
| 4 | 
            +
              data.tar.gz: 541b35ecb1394fe34f04a77f5e0172e5b90c750f
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 8cb38f41690ca9974760d50da6aac13c86f6cc06bc81e6383ba0507eff6cbc3be2cdecbcb20dd8b5c8f33fe6ffb533ccff55d82c9e4e81addc9b599470f56f6a
         | 
| 7 | 
            +
              data.tar.gz: 76075ff2952206dfdc31a1da3b11d3e3b58c10f7b27534da1276ff30db7b9cd2bc2f03df5301abc6b46bc1748ced412f49c3e2bc953d6a262c826580a36bb011
         | 
    
        data/ChangeLog
    CHANGED
    
    | @@ -1,3 +1,9 @@ | |
| 1 | 
            +
            Fri Jan 1 2016 Ammar Ali <ammarabuali@gmail.com>
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            	* Updated ruby versions for latest releases; 2.1.8, 2.2.4, and 2.3.0
         | 
| 4 | 
            +
            	* Fixed class name for UnknownSyntaxNameError exception
         | 
| 5 | 
            +
            	* Bumped version to 0.3.2
         | 
| 6 | 
            +
             | 
| 1 7 | 
             
            Sat Aug 29 2015 Ammar Ali <ammarabuali@gmail.com>
         | 
| 2 8 |  | 
| 3 9 | 
             
            	* Updated ruby versions for latest releases; 2.1.7, 2.2.3
         | 
    
        data/README.md
    CHANGED
    
    | @@ -350,12 +350,12 @@ _Note that not all of these are available in all versions of Ruby_ | |
| 350 350 | 
             
            |   _**Unicode**_             | `\uHHHH`, `\u{H+ H+}`                                   | ✓ |
         | 
| 351 351 | 
             
            | **Unicode Properties**                | _<sub>([Unicode 7.0.0](http://www.unicode.org/versions/Unicode7.0.0/))</sub>_ | ⋱ |
         | 
| 352 352 | 
             
            |   _**Age**_                 | `\p{Age=5.2}`, `\P{age=7.0}`                            | ✓ |
         | 
| 353 | 
            +
            |   _**Blocks**_              | `\p{InArmenian}`, `\P{InKhmer}`                         | ✓ |
         | 
| 353 354 | 
             
            |   _**Classes**_             | `\p{Alpha}`, `\P{Space}`                                | ✓ |
         | 
| 354 355 | 
             
            |   _**Derived**_             | `\p{Math}`, `\P{Lowercase}`                             | ✓ |
         | 
| 355 356 | 
             
            |   _**General Categories**_  | `\p{Lu}`, `\P{Cs}`                                      | ✓ |
         | 
| 356 357 | 
             
            |   _**Scripts**_             | `\p{Arabic}`, `\P{Hiragana}`                            | ✓ |
         | 
| 357 358 | 
             
            |   _**Simple**_              | `\p{Dash}`, `\p{Extender}`                              | ✓ |
         | 
| 358 | 
            -
            |   _**Blocks**_             | `\p{InArmenian}`, `\P{InKhmer}`                            | ✓ |
         | 
| 359 359 |  | 
| 360 360 | 
             
            ##### Inapplicable Features
         | 
| 361 361 |  | 
| @@ -458,4 +458,4 @@ Documentation and books used while working on this project. | |
| 458 458 |  | 
| 459 459 | 
             
            ---
         | 
| 460 460 | 
             
            ##### Copyright
         | 
| 461 | 
            -
            _Copyright (c) 2010- | 
| 461 | 
            +
            _Copyright (c) 2010-2016 Ammar Ali. See LICENSE file for details._
         | 
| @@ -1,7 +1,7 @@ | |
| 1 1 |  | 
| 2 | 
            -
            # line 1 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2 | 
            +
            # line 1 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3 3 |  | 
| 4 | 
            -
            # line 769 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4 | 
            +
            # line 769 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 5 5 |  | 
| 6 6 |  | 
| 7 7 | 
             
            # THIS IS A GENERATED FILE, DO NOT EDIT DIRECTLY
         | 
| @@ -9,7 +9,7 @@ | |
| 9 9 |  | 
| 10 10 | 
             
            module Regexp::Scanner
         | 
| 11 11 |  | 
| 12 | 
            -
            # line 13 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 12 | 
            +
            # line 13 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 13 13 | 
             
            class << self
         | 
| 14 14 | 
             
            	attr_accessor :_re_scanner_trans_keys
         | 
| 15 15 | 
             
            	private :_re_scanner_trans_keys, :_re_scanner_trans_keys=
         | 
| @@ -1545,7 +1545,7 @@ end | |
| 1545 1545 | 
             
            self.re_scanner_en_main = 139;
         | 
| 1546 1546 |  | 
| 1547 1547 |  | 
| 1548 | 
            -
            # line 776 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1548 | 
            +
            # line 776 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1549 1549 |  | 
| 1550 1550 | 
             
              # General scanner error (catch all)
         | 
| 1551 1551 | 
             
              class ScannerError < StandardError; end
         | 
| @@ -1630,7 +1630,7 @@ self.re_scanner_en_main = 139; | |
| 1630 1630 | 
             
                in_conditional, conditional_depth, conditional_stack = false, 0, []
         | 
| 1631 1631 |  | 
| 1632 1632 |  | 
| 1633 | 
            -
            # line 1634 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1633 | 
            +
            # line 1634 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1634 1634 | 
             
            begin
         | 
| 1635 1635 | 
             
            	p ||= 0
         | 
| 1636 1636 | 
             
            	pe ||= data.length
         | 
| @@ -1641,9 +1641,9 @@ begin | |
| 1641 1641 | 
             
            	act = 0
         | 
| 1642 1642 | 
             
            end
         | 
| 1643 1643 |  | 
| 1644 | 
            -
            # line 860 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1644 | 
            +
            # line 860 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1645 1645 |  | 
| 1646 | 
            -
            # line 1647 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1646 | 
            +
            # line 1647 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1647 1647 | 
             
            begin
         | 
| 1648 1648 | 
             
            	testEof = false
         | 
| 1649 1649 | 
             
            	_slen, _trans, _keys, _inds, _acts, _nacts = nil
         | 
| @@ -1671,7 +1671,7 @@ begin | |
| 1671 1671 | 
             
            		begin
         | 
| 1672 1672 | 
             
            ts = p
         | 
| 1673 1673 | 
             
            		end
         | 
| 1674 | 
            -
            # line 1675 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1674 | 
            +
            # line 1675 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 1675 1675 | 
             
            	end
         | 
| 1676 1676 | 
             
            	_keys = cs << 1
         | 
| 1677 1677 | 
             
            	_inds = _re_scanner_index_offsets[cs]
         | 
| @@ -1691,14 +1691,14 @@ ts = p | |
| 1691 1691 | 
             
            	if _re_scanner_trans_actions[_trans] != 0
         | 
| 1692 1692 | 
             
            	case _re_scanner_trans_actions[_trans]
         | 
| 1693 1693 | 
             
            	when 14 then
         | 
| 1694 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1694 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1695 1695 | 
             
            		begin
         | 
| 1696 1696 |  | 
| 1697 1697 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 1698 1698 | 
             
                raise PrematureEndError.new( text )
         | 
| 1699 1699 | 
             
              		end
         | 
| 1700 1700 | 
             
            	when 7 then
         | 
| 1701 | 
            -
            # line 146 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1701 | 
            +
            # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 1702 1702 | 
             
            		begin
         | 
| 1703 1703 | 
             
             @group_depth -= 1; @in_group = @group_depth > 0 ? true : false 		end
         | 
| 1704 1704 | 
             
            	when 18 then
         | 
| @@ -1707,7 +1707,7 @@ ts = p | |
| 1707 1707 | 
             
            te = p+1
         | 
| 1708 1708 | 
             
            		end
         | 
| 1709 1709 | 
             
            	when 16 then
         | 
| 1710 | 
            -
            # line 61 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
         | 
| 1710 | 
            +
            # line 61 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
         | 
| 1711 1711 | 
             
            		begin
         | 
| 1712 1712 | 
             
            te = p+1
         | 
| 1713 1713 | 
             
             begin 
         | 
| @@ -2463,7 +2463,7 @@ te = p+1 | |
| 2463 2463 | 
             
                 end
         | 
| 2464 2464 | 
             
            		end
         | 
| 2465 2465 | 
             
            	when 67 then
         | 
| 2466 | 
            -
            # line 152 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2466 | 
            +
            # line 152 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2467 2467 | 
             
            		begin
         | 
| 2468 2468 | 
             
            te = p+1
         | 
| 2469 2469 | 
             
             begin 
         | 
| @@ -2491,7 +2491,7 @@ te = p+1 | |
| 2491 2491 | 
             
                 end
         | 
| 2492 2492 | 
             
            		end
         | 
| 2493 2493 | 
             
            	when 71 then
         | 
| 2494 | 
            -
            # line 165 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2494 | 
            +
            # line 165 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2495 2495 | 
             
            		begin
         | 
| 2496 2496 | 
             
            te = p+1
         | 
| 2497 2497 | 
             
             begin  # special case, emits two tokens
         | 
| @@ -2520,7 +2520,7 @@ te = p+1 | |
| 2520 2520 | 
             
                 end
         | 
| 2521 2521 | 
             
            		end
         | 
| 2522 2522 | 
             
            	when 68 then
         | 
| 2523 | 
            -
            # line 179 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2523 | 
            +
            # line 179 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2524 2524 | 
             
            		begin
         | 
| 2525 2525 | 
             
            te = p+1
         | 
| 2526 2526 | 
             
             begin 
         | 
| @@ -2533,7 +2533,7 @@ te = p+1 | |
| 2533 2533 | 
             
                 end
         | 
| 2534 2534 | 
             
            		end
         | 
| 2535 2535 | 
             
            	when 19 then
         | 
| 2536 | 
            -
            # line 188 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2536 | 
            +
            # line 188 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2537 2537 | 
             
            		begin
         | 
| 2538 2538 | 
             
            te = p+1
         | 
| 2539 2539 | 
             
             begin 
         | 
| @@ -2541,7 +2541,7 @@ te = p+1 | |
| 2541 2541 | 
             
                 end
         | 
| 2542 2542 | 
             
            		end
         | 
| 2543 2543 | 
             
            	when 70 then
         | 
| 2544 | 
            -
            # line 192 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2544 | 
            +
            # line 192 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2545 2545 | 
             
            		begin
         | 
| 2546 2546 | 
             
            te = p+1
         | 
| 2547 2547 | 
             
             begin 
         | 
| @@ -2549,7 +2549,7 @@ te = p+1 | |
| 2549 2549 | 
             
                 end
         | 
| 2550 2550 | 
             
            		end
         | 
| 2551 2551 | 
             
            	when 66 then
         | 
| 2552 | 
            -
            # line 196 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2552 | 
            +
            # line 196 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2553 2553 | 
             
            		begin
         | 
| 2554 2554 | 
             
            te = p+1
         | 
| 2555 2555 | 
             
             begin 
         | 
| @@ -2564,7 +2564,7 @@ te = p+1 | |
| 2564 2564 | 
             
                 end
         | 
| 2565 2565 | 
             
            		end
         | 
| 2566 2566 | 
             
            	when 23 then
         | 
| 2567 | 
            -
            # line 208 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2567 | 
            +
            # line 208 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2568 2568 | 
             
            		begin
         | 
| 2569 2569 | 
             
            te = p+1
         | 
| 2570 2570 | 
             
             begin 
         | 
| @@ -2580,7 +2580,7 @@ te = p+1 | |
| 2580 2580 | 
             
                 end
         | 
| 2581 2581 | 
             
            		end
         | 
| 2582 2582 | 
             
            	when 22 then
         | 
| 2583 | 
            -
            # line 220 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2583 | 
            +
            # line 220 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2584 2584 | 
             
            		begin
         | 
| 2585 2585 | 
             
            te = p+1
         | 
| 2586 2586 | 
             
             begin 
         | 
| @@ -2588,7 +2588,7 @@ te = p+1 | |
| 2588 2588 | 
             
                 end
         | 
| 2589 2589 | 
             
            		end
         | 
| 2590 2590 | 
             
            	when 24 then
         | 
| 2591 | 
            -
            # line 224 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2591 | 
            +
            # line 224 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2592 2592 | 
             
            		begin
         | 
| 2593 2593 | 
             
            te = p+1
         | 
| 2594 2594 | 
             
             begin 
         | 
| @@ -2596,7 +2596,7 @@ te = p+1 | |
| 2596 2596 | 
             
                 end
         | 
| 2597 2597 | 
             
            		end
         | 
| 2598 2598 | 
             
            	when 65 then
         | 
| 2599 | 
            -
            # line 230 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2599 | 
            +
            # line 230 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2600 2600 | 
             
            		begin
         | 
| 2601 2601 | 
             
            te = p+1
         | 
| 2602 2602 | 
             
             begin 
         | 
| @@ -2604,7 +2604,7 @@ te = p+1 | |
| 2604 2604 | 
             
                 end
         | 
| 2605 2605 | 
             
            		end
         | 
| 2606 2606 | 
             
            	when 64 then
         | 
| 2607 | 
            -
            # line 238 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2607 | 
            +
            # line 238 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2608 2608 | 
             
            		begin
         | 
| 2609 2609 | 
             
            te = p+1
         | 
| 2610 2610 | 
             
             begin 
         | 
| @@ -2612,7 +2612,7 @@ te = p+1 | |
| 2612 2612 | 
             
                 end
         | 
| 2613 2613 | 
             
            		end
         | 
| 2614 2614 | 
             
            	when 73 then
         | 
| 2615 | 
            -
            # line 200 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2615 | 
            +
            # line 200 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2616 2616 | 
             
            		begin
         | 
| 2617 2617 | 
             
            te = p
         | 
| 2618 2618 | 
             
            p = p - 1; begin 
         | 
| @@ -2631,7 +2631,7 @@ p = p - 1; begin | |
| 2631 2631 | 
             
                 end
         | 
| 2632 2632 | 
             
            		end
         | 
| 2633 2633 | 
             
            	when 69 then
         | 
| 2634 | 
            -
            # line 238 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2634 | 
            +
            # line 238 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2635 2635 | 
             
            		begin
         | 
| 2636 2636 | 
             
            te = p
         | 
| 2637 2637 | 
             
            p = p - 1; begin 
         | 
| @@ -2639,7 +2639,7 @@ p = p - 1; begin | |
| 2639 2639 | 
             
                 end
         | 
| 2640 2640 | 
             
            		end
         | 
| 2641 2641 | 
             
            	when 21 then
         | 
| 2642 | 
            -
            # line 200 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2642 | 
            +
            # line 200 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2643 2643 | 
             
            		begin
         | 
| 2644 2644 | 
             
             begin p = ((te))-1; end
         | 
| 2645 2645 | 
             
             begin 
         | 
| @@ -2658,7 +2658,7 @@ p = p - 1; begin | |
| 2658 2658 | 
             
                 end
         | 
| 2659 2659 | 
             
            		end
         | 
| 2660 2660 | 
             
            	when 17 then
         | 
| 2661 | 
            -
            # line 238 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2661 | 
            +
            # line 238 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2662 2662 | 
             
            		begin
         | 
| 2663 2663 | 
             
             begin p = ((te))-1; end
         | 
| 2664 2664 | 
             
             begin 
         | 
| @@ -2666,7 +2666,7 @@ p = p - 1; begin | |
| 2666 2666 | 
             
                 end
         | 
| 2667 2667 | 
             
            		end
         | 
| 2668 2668 | 
             
            	when 78 then
         | 
| 2669 | 
            -
            # line 246 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2669 | 
            +
            # line 246 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2670 2670 | 
             
            		begin
         | 
| 2671 2671 | 
             
            te = p+1
         | 
| 2672 2672 | 
             
             begin 
         | 
| @@ -2681,7 +2681,7 @@ te = p+1 | |
| 2681 2681 | 
             
                 end
         | 
| 2682 2682 | 
             
            		end
         | 
| 2683 2683 | 
             
            	when 76 then
         | 
| 2684 | 
            -
            # line 251 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2684 | 
            +
            # line 251 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2685 2685 | 
             
            		begin
         | 
| 2686 2686 | 
             
            te = p+1
         | 
| 2687 2687 | 
             
             begin 
         | 
| @@ -2705,7 +2705,7 @@ te = p+1 | |
| 2705 2705 | 
             
                 end
         | 
| 2706 2706 | 
             
            		end
         | 
| 2707 2707 | 
             
            	when 82 then
         | 
| 2708 | 
            -
            # line 265 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2708 | 
            +
            # line 265 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2709 2709 | 
             
            		begin
         | 
| 2710 2710 | 
             
            te = p+1
         | 
| 2711 2711 | 
             
             begin 
         | 
| @@ -2720,7 +2720,7 @@ te = p+1 | |
| 2720 2720 | 
             
                 end
         | 
| 2721 2721 | 
             
            		end
         | 
| 2722 2722 | 
             
            	when 74 then
         | 
| 2723 | 
            -
            # line 275 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2723 | 
            +
            # line 275 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2724 2724 | 
             
            		begin
         | 
| 2725 2725 | 
             
            te = p+1
         | 
| 2726 2726 | 
             
             begin 
         | 
| @@ -2735,7 +2735,7 @@ te = p+1 | |
| 2735 2735 | 
             
                 end
         | 
| 2736 2736 | 
             
            		end
         | 
| 2737 2737 | 
             
            	when 77 then
         | 
| 2738 | 
            -
            # line 280 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2738 | 
            +
            # line 280 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2739 2739 | 
             
            		begin
         | 
| 2740 2740 | 
             
            te = p+1
         | 
| 2741 2741 | 
             
             begin 
         | 
| @@ -2759,7 +2759,7 @@ te = p+1 | |
| 2759 2759 | 
             
                 end
         | 
| 2760 2760 | 
             
            		end
         | 
| 2761 2761 | 
             
            	when 81 then
         | 
| 2762 | 
            -
            # line 265 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2762 | 
            +
            # line 265 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2763 2763 | 
             
            		begin
         | 
| 2764 2764 | 
             
            te = p
         | 
| 2765 2765 | 
             
            p = p - 1; begin 
         | 
| @@ -2774,7 +2774,7 @@ p = p - 1; begin | |
| 2774 2774 | 
             
                 end
         | 
| 2775 2775 | 
             
            		end
         | 
| 2776 2776 | 
             
            	when 80 then
         | 
| 2777 | 
            -
            # line 270 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2777 | 
            +
            # line 270 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2778 2778 | 
             
            		begin
         | 
| 2779 2779 | 
             
            te = p
         | 
| 2780 2780 | 
             
            p = p - 1; begin 
         | 
| @@ -2789,7 +2789,7 @@ p = p - 1; begin | |
| 2789 2789 | 
             
                 end
         | 
| 2790 2790 | 
             
            		end
         | 
| 2791 2791 | 
             
            	when 79 then
         | 
| 2792 | 
            -
            # line 292 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2792 | 
            +
            # line 292 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2793 2793 | 
             
            		begin
         | 
| 2794 2794 | 
             
            te = p
         | 
| 2795 2795 | 
             
            p = p - 1; begin 
         | 
| @@ -2804,7 +2804,7 @@ p = p - 1; begin | |
| 2804 2804 | 
             
                 end
         | 
| 2805 2805 | 
             
            		end
         | 
| 2806 2806 | 
             
            	when 27 then
         | 
| 2807 | 
            -
            # line 270 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2807 | 
            +
            # line 270 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2808 2808 | 
             
            		begin
         | 
| 2809 2809 | 
             
             begin p = ((te))-1; end
         | 
| 2810 2810 | 
             
             begin 
         | 
| @@ -2856,7 +2856,7 @@ end | |
| 2856 2856 | 
             
            end 
         | 
| 2857 2857 | 
             
            			end
         | 
| 2858 2858 | 
             
            	when 87 then
         | 
| 2859 | 
            -
            # line 302 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2859 | 
            +
            # line 302 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2860 2860 | 
             
            		begin
         | 
| 2861 2861 | 
             
            te = p+1
         | 
| 2862 2862 | 
             
             begin 
         | 
| @@ -2872,7 +2872,7 @@ te = p+1 | |
| 2872 2872 | 
             
                 end
         | 
| 2873 2873 | 
             
            		end
         | 
| 2874 2874 | 
             
            	when 92 then
         | 
| 2875 | 
            -
            # line 308 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2875 | 
            +
            # line 308 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2876 2876 | 
             
            		begin
         | 
| 2877 2877 | 
             
            te = p+1
         | 
| 2878 2878 | 
             
             begin 
         | 
| @@ -2887,7 +2887,7 @@ te = p+1 | |
| 2887 2887 | 
             
                 end
         | 
| 2888 2888 | 
             
            		end
         | 
| 2889 2889 | 
             
            	when 84 then
         | 
| 2890 | 
            -
            # line 313 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2890 | 
            +
            # line 313 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2891 2891 | 
             
            		begin
         | 
| 2892 2892 | 
             
            te = p+1
         | 
| 2893 2893 | 
             
             begin 
         | 
| @@ -2918,7 +2918,7 @@ te = p+1 | |
| 2918 2918 | 
             
                 end
         | 
| 2919 2919 | 
             
            		end
         | 
| 2920 2920 | 
             
            	when 89 then
         | 
| 2921 | 
            -
            # line 334 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2921 | 
            +
            # line 334 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2922 2922 | 
             
            		begin
         | 
| 2923 2923 | 
             
            te = p+1
         | 
| 2924 2924 | 
             
             begin 
         | 
| @@ -2944,7 +2944,7 @@ te = p+1 | |
| 2944 2944 | 
             
                 end
         | 
| 2945 2945 | 
             
            		end
         | 
| 2946 2946 | 
             
            	when 32 then
         | 
| 2947 | 
            -
            # line 350 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2947 | 
            +
            # line 350 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2948 2948 | 
             
            		begin
         | 
| 2949 2949 | 
             
            te = p+1
         | 
| 2950 2950 | 
             
             begin 
         | 
| @@ -2964,7 +2964,7 @@ te = p+1 | |
| 2964 2964 | 
             
                 end
         | 
| 2965 2965 | 
             
            		end
         | 
| 2966 2966 | 
             
            	when 97 then
         | 
| 2967 | 
            -
            # line 360 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2967 | 
            +
            # line 360 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2968 2968 | 
             
            		begin
         | 
| 2969 2969 | 
             
            te = p+1
         | 
| 2970 2970 | 
             
             begin 
         | 
| @@ -2979,7 +2979,7 @@ te = p+1 | |
| 2979 2979 | 
             
                 end
         | 
| 2980 2980 | 
             
            		end
         | 
| 2981 2981 | 
             
            	when 100 then
         | 
| 2982 | 
            -
            # line 365 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2982 | 
            +
            # line 365 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2983 2983 | 
             
            		begin
         | 
| 2984 2984 | 
             
            te = p+1
         | 
| 2985 2985 | 
             
             begin 
         | 
| @@ -2994,7 +2994,7 @@ te = p+1 | |
| 2994 2994 | 
             
                 end
         | 
| 2995 2995 | 
             
            		end
         | 
| 2996 2996 | 
             
            	when 34 then
         | 
| 2997 | 
            -
            # line 374 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2997 | 
            +
            # line 374 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 2998 2998 | 
             
            		begin
         | 
| 2999 2999 | 
             
            te = p+1
         | 
| 3000 3000 | 
             
             begin 
         | 
| @@ -3009,7 +3009,7 @@ te = p+1 | |
| 3009 3009 | 
             
                 end
         | 
| 3010 3010 | 
             
            		end
         | 
| 3011 3011 | 
             
            	when 28 then
         | 
| 3012 | 
            -
            # line 379 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3012 | 
            +
            # line 379 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3013 3013 | 
             
            		begin
         | 
| 3014 3014 | 
             
            te = p+1
         | 
| 3015 3015 | 
             
             begin 
         | 
| @@ -3034,7 +3034,7 @@ te = p+1 | |
| 3034 3034 | 
             
                 end
         | 
| 3035 3035 | 
             
            		end
         | 
| 3036 3036 | 
             
            	when 31 then
         | 
| 3037 | 
            -
            # line 394 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3037 | 
            +
            # line 394 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3038 3038 | 
             
            		begin
         | 
| 3039 3039 | 
             
            te = p+1
         | 
| 3040 3040 | 
             
             begin 
         | 
| @@ -3059,7 +3059,7 @@ te = p+1 | |
| 3059 3059 | 
             
                 end
         | 
| 3060 3060 | 
             
            		end
         | 
| 3061 3061 | 
             
            	when 88 then
         | 
| 3062 | 
            -
            # line 409 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3062 | 
            +
            # line 409 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3063 3063 | 
             
            		begin
         | 
| 3064 3064 | 
             
            te = p+1
         | 
| 3065 3065 | 
             
             begin 
         | 
| @@ -3082,7 +3082,7 @@ te = p+1 | |
| 3082 3082 | 
             
                 end
         | 
| 3083 3083 | 
             
            		end
         | 
| 3084 3084 | 
             
            	when 83 then
         | 
| 3085 | 
            -
            # line 415 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3085 | 
            +
            # line 415 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3086 3086 | 
             
            		begin
         | 
| 3087 3087 | 
             
            te = p+1
         | 
| 3088 3088 | 
             
             begin 
         | 
| @@ -3097,7 +3097,7 @@ te = p+1 | |
| 3097 3097 | 
             
                 end
         | 
| 3098 3098 | 
             
            		end
         | 
| 3099 3099 | 
             
            	when 91 then
         | 
| 3100 | 
            -
            # line 308 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3100 | 
            +
            # line 308 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3101 3101 | 
             
            		begin
         | 
| 3102 3102 | 
             
            te = p
         | 
| 3103 3103 | 
             
            p = p - 1; begin 
         | 
| @@ -3112,7 +3112,7 @@ p = p - 1; begin | |
| 3112 3112 | 
             
                 end
         | 
| 3113 3113 | 
             
            		end
         | 
| 3114 3114 | 
             
            	when 96 then
         | 
| 3115 | 
            -
            # line 360 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3115 | 
            +
            # line 360 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3116 3116 | 
             
            		begin
         | 
| 3117 3117 | 
             
            te = p
         | 
| 3118 3118 | 
             
            p = p - 1; begin 
         | 
| @@ -3127,7 +3127,7 @@ p = p - 1; begin | |
| 3127 3127 | 
             
                 end
         | 
| 3128 3128 | 
             
            		end
         | 
| 3129 3129 | 
             
            	when 98 then
         | 
| 3130 | 
            -
            # line 374 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3130 | 
            +
            # line 374 "/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 94 then
         | 
| 3145 | 
            -
            # line 394 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3145 | 
            +
            # line 394 "/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 
         | 
| @@ -3167,7 +3167,7 @@ p = p - 1; begin | |
| 3167 3167 | 
             
                 end
         | 
| 3168 3168 | 
             
            		end
         | 
| 3169 3169 | 
             
            	when 35 then
         | 
| 3170 | 
            -
            # line 374 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3170 | 
            +
            # line 374 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3171 3171 | 
             
            		begin
         | 
| 3172 3172 | 
             
             begin p = ((te))-1; end
         | 
| 3173 3173 | 
             
             begin 
         | 
| @@ -3182,7 +3182,7 @@ p = p - 1; begin | |
| 3182 3182 | 
             
                 end
         | 
| 3183 3183 | 
             
            		end
         | 
| 3184 3184 | 
             
            	when 30 then
         | 
| 3185 | 
            -
            # line 394 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3185 | 
            +
            # line 394 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3186 3186 | 
             
            		begin
         | 
| 3187 3187 | 
             
             begin p = ((te))-1; end
         | 
| 3188 3188 | 
             
             begin 
         | 
| @@ -3238,7 +3238,7 @@ p = p - 1; begin | |
| 3238 3238 | 
             
            end 
         | 
| 3239 3239 | 
             
            			end
         | 
| 3240 3240 | 
             
            	when 37 then
         | 
| 3241 | 
            -
            # line 425 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3241 | 
            +
            # line 425 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3242 3242 | 
             
            		begin
         | 
| 3243 3243 | 
             
            te = p+1
         | 
| 3244 3244 | 
             
             begin 
         | 
| @@ -3248,7 +3248,7 @@ te = p+1 | |
| 3248 3248 | 
             
                 end
         | 
| 3249 3249 | 
             
            		end
         | 
| 3250 3250 | 
             
            	when 101 then
         | 
| 3251 | 
            -
            # line 431 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3251 | 
            +
            # line 431 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3252 3252 | 
             
            		begin
         | 
| 3253 3253 | 
             
            te = p+1
         | 
| 3254 3254 | 
             
             begin 
         | 
| @@ -3264,7 +3264,7 @@ te = p+1 | |
| 3264 3264 | 
             
                 end
         | 
| 3265 3265 | 
             
            		end
         | 
| 3266 3266 | 
             
            	when 102 then
         | 
| 3267 | 
            -
            # line 431 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3267 | 
            +
            # line 431 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3268 3268 | 
             
            		begin
         | 
| 3269 3269 | 
             
            te = p
         | 
| 3270 3270 | 
             
            p = p - 1; begin 
         | 
| @@ -3280,7 +3280,7 @@ p = p - 1; begin | |
| 3280 3280 | 
             
                 end
         | 
| 3281 3281 | 
             
            		end
         | 
| 3282 3282 | 
             
            	when 36 then
         | 
| 3283 | 
            -
            # line 431 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3283 | 
            +
            # line 431 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3284 3284 | 
             
            		begin
         | 
| 3285 3285 | 
             
             begin p = ((te))-1; end
         | 
| 3286 3286 | 
             
             begin 
         | 
| @@ -3296,7 +3296,7 @@ p = p - 1; begin | |
| 3296 3296 | 
             
                 end
         | 
| 3297 3297 | 
             
            		end
         | 
| 3298 3298 | 
             
            	when 43 then
         | 
| 3299 | 
            -
            # line 444 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3299 | 
            +
            # line 444 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3300 3300 | 
             
            		begin
         | 
| 3301 3301 | 
             
            te = p+1
         | 
| 3302 3302 | 
             
             begin 
         | 
| @@ -3304,7 +3304,7 @@ te = p+1 | |
| 3304 3304 | 
             
                 end
         | 
| 3305 3305 | 
             
            		end
         | 
| 3306 3306 | 
             
            	when 46 then
         | 
| 3307 | 
            -
            # line 448 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3307 | 
            +
            # line 448 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3308 3308 | 
             
            		begin
         | 
| 3309 3309 | 
             
            te = p+1
         | 
| 3310 3310 | 
             
             begin 
         | 
| @@ -3317,7 +3317,7 @@ te = p+1 | |
| 3317 3317 | 
             
                 end
         | 
| 3318 3318 | 
             
            		end
         | 
| 3319 3319 | 
             
            	when 45 then
         | 
| 3320 | 
            -
            # line 459 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3320 | 
            +
            # line 459 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3321 3321 | 
             
            		begin
         | 
| 3322 3322 | 
             
            te = p+1
         | 
| 3323 3323 | 
             
             begin 
         | 
| @@ -3325,7 +3325,7 @@ te = p+1 | |
| 3325 3325 | 
             
                 end
         | 
| 3326 3326 | 
             
            		end
         | 
| 3327 3327 | 
             
            	when 40 then
         | 
| 3328 | 
            -
            # line 463 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3328 | 
            +
            # line 463 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3329 3329 | 
             
            		begin
         | 
| 3330 3330 | 
             
            te = p+1
         | 
| 3331 3331 | 
             
             begin 
         | 
| @@ -3333,7 +3333,7 @@ te = p+1 | |
| 3333 3333 | 
             
                 end
         | 
| 3334 3334 | 
             
            		end
         | 
| 3335 3335 | 
             
            	when 60 then
         | 
| 3336 | 
            -
            # line 467 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3336 | 
            +
            # line 467 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3337 3337 | 
             
            		begin
         | 
| 3338 3338 | 
             
            te = p+1
         | 
| 3339 3339 | 
             
             begin 
         | 
| @@ -3341,7 +3341,7 @@ te = p+1 | |
| 3341 3341 | 
             
                 end
         | 
| 3342 3342 | 
             
            		end
         | 
| 3343 3343 | 
             
            	when 58 then
         | 
| 3344 | 
            -
            # line 471 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3344 | 
            +
            # line 471 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3345 3345 | 
             
            		begin
         | 
| 3346 3346 | 
             
            te = p+1
         | 
| 3347 3347 | 
             
             begin 
         | 
| @@ -3359,7 +3359,7 @@ te = p+1 | |
| 3359 3359 | 
             
                 end
         | 
| 3360 3360 | 
             
            		end
         | 
| 3361 3361 | 
             
            	when 59 then
         | 
| 3362 | 
            -
            # line 491 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3362 | 
            +
            # line 491 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3363 3363 | 
             
            		begin
         | 
| 3364 3364 | 
             
            te = p+1
         | 
| 3365 3365 | 
             
             begin 
         | 
| @@ -3379,7 +3379,7 @@ te = p+1 | |
| 3379 3379 | 
             
                 end
         | 
| 3380 3380 | 
             
            		end
         | 
| 3381 3381 | 
             
            	when 44 then
         | 
| 3382 | 
            -
            # line 510 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3382 | 
            +
            # line 510 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3383 3383 | 
             
            		begin
         | 
| 3384 3384 | 
             
            te = p+1
         | 
| 3385 3385 | 
             
             begin 
         | 
| @@ -3398,7 +3398,7 @@ te = p+1 | |
| 3398 3398 | 
             
                 end
         | 
| 3399 3399 | 
             
            		end
         | 
| 3400 3400 | 
             
            	when 8 then
         | 
| 3401 | 
            -
            # line 522 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3401 | 
            +
            # line 522 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3402 3402 | 
             
            		begin
         | 
| 3403 3403 | 
             
            te = p+1
         | 
| 3404 3404 | 
             
             begin 
         | 
| @@ -3421,7 +3421,7 @@ te = p+1 | |
| 3421 3421 | 
             
                 end
         | 
| 3422 3422 | 
             
            		end
         | 
| 3423 3423 | 
             
            	when 9 then
         | 
| 3424 | 
            -
            # line 555 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3424 | 
            +
            # line 555 "/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 
         | 
| @@ -3429,7 +3429,7 @@ te = p+1 | |
| 3429 3429 | 
             
                 end
         | 
| 3430 3430 | 
             
            		end
         | 
| 3431 3431 | 
             
            	when 6 then
         | 
| 3432 | 
            -
            # line 565 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3432 | 
            +
            # line 565 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3433 3433 | 
             
            		begin
         | 
| 3434 3434 | 
             
            te = p+1
         | 
| 3435 3435 | 
             
             begin 
         | 
| @@ -3442,7 +3442,7 @@ te = p+1 | |
| 3442 3442 | 
             
                 end
         | 
| 3443 3443 | 
             
            		end
         | 
| 3444 3444 | 
             
            	when 10 then
         | 
| 3445 | 
            -
            # line 581 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3445 | 
            +
            # line 581 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3446 3446 | 
             
            		begin
         | 
| 3447 3447 | 
             
            te = p+1
         | 
| 3448 3448 | 
             
             begin 
         | 
| @@ -3467,7 +3467,7 @@ te = p+1 | |
| 3467 3467 | 
             
                 end
         | 
| 3468 3468 | 
             
            		end
         | 
| 3469 3469 | 
             
            	when 13 then
         | 
| 3470 | 
            -
            # line 636 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3470 | 
            +
            # line 636 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3471 3471 | 
             
            		begin
         | 
| 3472 3472 | 
             
            te = p+1
         | 
| 3473 3473 | 
             
             begin 
         | 
| @@ -3539,7 +3539,7 @@ te = p+1 | |
| 3539 3539 | 
             
                 end
         | 
| 3540 3540 | 
             
            		end
         | 
| 3541 3541 | 
             
            	when 56 then
         | 
| 3542 | 
            -
            # line 707 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3542 | 
            +
            # line 707 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3543 3543 | 
             
            		begin
         | 
| 3544 3544 | 
             
            te = p+1
         | 
| 3545 3545 | 
             
             begin 
         | 
| @@ -3551,7 +3551,7 @@ te = p+1 | |
| 3551 3551 | 
             
                 end
         | 
| 3552 3552 | 
             
            		end
         | 
| 3553 3553 | 
             
            	when 52 then
         | 
| 3554 | 
            -
            # line 715 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3554 | 
            +
            # line 715 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3555 3555 | 
             
            		begin
         | 
| 3556 3556 | 
             
            te = p+1
         | 
| 3557 3557 | 
             
             begin 
         | 
| @@ -3563,7 +3563,7 @@ te = p+1 | |
| 3563 3563 | 
             
                 end
         | 
| 3564 3564 | 
             
            		end
         | 
| 3565 3565 | 
             
            	when 54 then
         | 
| 3566 | 
            -
            # line 723 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3566 | 
            +
            # line 723 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3567 3567 | 
             
            		begin
         | 
| 3568 3568 | 
             
            te = p+1
         | 
| 3569 3569 | 
             
             begin 
         | 
| @@ -3575,7 +3575,7 @@ te = p+1 | |
| 3575 3575 | 
             
                 end
         | 
| 3576 3576 | 
             
            		end
         | 
| 3577 3577 | 
             
            	when 62 then
         | 
| 3578 | 
            -
            # line 731 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3578 | 
            +
            # line 731 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3579 3579 | 
             
            		begin
         | 
| 3580 3580 | 
             
            te = p+1
         | 
| 3581 3581 | 
             
             begin 
         | 
| @@ -3583,7 +3583,7 @@ te = p+1 | |
| 3583 3583 | 
             
                 end
         | 
| 3584 3584 | 
             
            		end
         | 
| 3585 3585 | 
             
            	when 4 then
         | 
| 3586 | 
            -
            # line 741 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3586 | 
            +
            # line 741 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3587 3587 | 
             
            		begin
         | 
| 3588 3588 | 
             
            te = p+1
         | 
| 3589 3589 | 
             
             begin 
         | 
| @@ -3595,7 +3595,7 @@ te = p+1 | |
| 3595 3595 | 
             
                 end
         | 
| 3596 3596 | 
             
            		end
         | 
| 3597 3597 | 
             
            	when 49 then
         | 
| 3598 | 
            -
            # line 602 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3598 | 
            +
            # line 602 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3599 3599 | 
             
            		begin
         | 
| 3600 3600 | 
             
            te = p
         | 
| 3601 3601 | 
             
            p = p - 1; begin 
         | 
| @@ -3604,7 +3604,7 @@ p = p - 1; begin | |
| 3604 3604 | 
             
                 end
         | 
| 3605 3605 | 
             
            		end
         | 
| 3606 3606 | 
             
            	when 55 then
         | 
| 3607 | 
            -
            # line 707 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3607 | 
            +
            # line 707 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3608 3608 | 
             
            		begin
         | 
| 3609 3609 | 
             
            te = p
         | 
| 3610 3610 | 
             
            p = p - 1; begin 
         | 
| @@ -3616,7 +3616,7 @@ p = p - 1; begin | |
| 3616 3616 | 
             
                 end
         | 
| 3617 3617 | 
             
            		end
         | 
| 3618 3618 | 
             
            	when 51 then
         | 
| 3619 | 
            -
            # line 715 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3619 | 
            +
            # line 715 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3620 3620 | 
             
            		begin
         | 
| 3621 3621 | 
             
            te = p
         | 
| 3622 3622 | 
             
            p = p - 1; begin 
         | 
| @@ -3628,7 +3628,7 @@ p = p - 1; begin | |
| 3628 3628 | 
             
                 end
         | 
| 3629 3629 | 
             
            		end
         | 
| 3630 3630 | 
             
            	when 53 then
         | 
| 3631 | 
            -
            # line 723 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3631 | 
            +
            # line 723 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3632 3632 | 
             
            		begin
         | 
| 3633 3633 | 
             
            te = p
         | 
| 3634 3634 | 
             
            p = p - 1; begin 
         | 
| @@ -3640,7 +3640,7 @@ p = p - 1; begin | |
| 3640 3640 | 
             
                 end
         | 
| 3641 3641 | 
             
            		end
         | 
| 3642 3642 | 
             
            	when 61 then
         | 
| 3643 | 
            -
            # line 731 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3643 | 
            +
            # line 731 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3644 3644 | 
             
            		begin
         | 
| 3645 3645 | 
             
            te = p
         | 
| 3646 3646 | 
             
            p = p - 1; begin 
         | 
| @@ -3648,7 +3648,7 @@ p = p - 1; begin | |
| 3648 3648 | 
             
                 end
         | 
| 3649 3649 | 
             
            		end
         | 
| 3650 3650 | 
             
            	when 57 then
         | 
| 3651 | 
            -
            # line 737 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3651 | 
            +
            # line 737 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3652 3652 | 
             
            		begin
         | 
| 3653 3653 | 
             
            te = p
         | 
| 3654 3654 | 
             
            p = p - 1; begin 
         | 
| @@ -3663,7 +3663,7 @@ p = p - 1; begin | |
| 3663 3663 | 
             
                 end
         | 
| 3664 3664 | 
             
            		end
         | 
| 3665 3665 | 
             
            	when 48 then
         | 
| 3666 | 
            -
            # line 749 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3666 | 
            +
            # line 749 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3667 3667 | 
             
            		begin
         | 
| 3668 3668 | 
             
            te = p
         | 
| 3669 3669 | 
             
            p = p - 1; begin 
         | 
| @@ -3675,7 +3675,7 @@ p = p - 1; begin | |
| 3675 3675 | 
             
                 end
         | 
| 3676 3676 | 
             
            		end
         | 
| 3677 3677 | 
             
            	when 47 then
         | 
| 3678 | 
            -
            # line 764 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3678 | 
            +
            # line 764 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3679 3679 | 
             
            		begin
         | 
| 3680 3680 | 
             
            te = p
         | 
| 3681 3681 | 
             
            p = p - 1; begin 
         | 
| @@ -3683,7 +3683,7 @@ p = p - 1; begin | |
| 3683 3683 | 
             
                 end
         | 
| 3684 3684 | 
             
            		end
         | 
| 3685 3685 | 
             
            	when 5 then
         | 
| 3686 | 
            -
            # line 602 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3686 | 
            +
            # line 602 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3687 3687 | 
             
            		begin
         | 
| 3688 3688 | 
             
             begin p = ((te))-1; end
         | 
| 3689 3689 | 
             
             begin 
         | 
| @@ -3692,7 +3692,7 @@ p = p - 1; begin | |
| 3692 3692 | 
             
                 end
         | 
| 3693 3693 | 
             
            		end
         | 
| 3694 3694 | 
             
            	when 12 then
         | 
| 3695 | 
            -
            # line 737 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3695 | 
            +
            # line 737 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3696 3696 | 
             
            		begin
         | 
| 3697 3697 | 
             
             begin p = ((te))-1; end
         | 
| 3698 3698 | 
             
             begin 
         | 
| @@ -3707,7 +3707,7 @@ p = p - 1; begin | |
| 3707 3707 | 
             
                 end
         | 
| 3708 3708 | 
             
            		end
         | 
| 3709 3709 | 
             
            	when 3 then
         | 
| 3710 | 
            -
            # line 764 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3710 | 
            +
            # line 764 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3711 3711 | 
             
            		begin
         | 
| 3712 3712 | 
             
             begin p = ((te))-1; end
         | 
| 3713 3713 | 
             
             begin 
         | 
| @@ -3733,13 +3733,13 @@ end | |
| 3733 3733 | 
             
            end 
         | 
| 3734 3734 | 
             
            			end
         | 
| 3735 3735 | 
             
            	when 72 then
         | 
| 3736 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3736 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3737 3737 | 
             
            		begin
         | 
| 3738 3738 |  | 
| 3739 3739 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3740 3740 | 
             
                raise PrematureEndError.new( text )
         | 
| 3741 3741 | 
             
              		end
         | 
| 3742 | 
            -
            # line 200 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3742 | 
            +
            # line 200 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3743 3743 | 
             
            		begin
         | 
| 3744 3744 | 
             
            te = p
         | 
| 3745 3745 | 
             
            p = p - 1; begin 
         | 
| @@ -3758,13 +3758,13 @@ p = p - 1; begin | |
| 3758 3758 | 
             
                 end
         | 
| 3759 3759 | 
             
            		end
         | 
| 3760 3760 | 
             
            	when 20 then
         | 
| 3761 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3761 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3762 3762 | 
             
            		begin
         | 
| 3763 3763 |  | 
| 3764 3764 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3765 3765 | 
             
                raise PrematureEndError.new( text )
         | 
| 3766 3766 | 
             
              		end
         | 
| 3767 | 
            -
            # line 200 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3767 | 
            +
            # line 200 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3768 3768 | 
             
            		begin
         | 
| 3769 3769 | 
             
             begin p = ((te))-1; end
         | 
| 3770 3770 | 
             
             begin 
         | 
| @@ -3783,13 +3783,13 @@ p = p - 1; begin | |
| 3783 3783 | 
             
                 end
         | 
| 3784 3784 | 
             
            		end
         | 
| 3785 3785 | 
             
            	when 95 then
         | 
| 3786 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3786 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3787 3787 | 
             
            		begin
         | 
| 3788 3788 |  | 
| 3789 3789 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3790 3790 | 
             
                raise PrematureEndError.new( text )
         | 
| 3791 3791 | 
             
              		end
         | 
| 3792 | 
            -
            # line 360 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3792 | 
            +
            # line 360 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3793 3793 | 
             
            		begin
         | 
| 3794 3794 | 
             
            te = p
         | 
| 3795 3795 | 
             
            p = p - 1; begin 
         | 
| @@ -3804,13 +3804,13 @@ p = p - 1; begin | |
| 3804 3804 | 
             
                 end
         | 
| 3805 3805 | 
             
            		end
         | 
| 3806 3806 | 
             
            	when 99 then
         | 
| 3807 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3807 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3808 3808 | 
             
            		begin
         | 
| 3809 3809 |  | 
| 3810 3810 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3811 3811 | 
             
                raise PrematureEndError.new( text )
         | 
| 3812 3812 | 
             
              		end
         | 
| 3813 | 
            -
            # line 374 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3813 | 
            +
            # line 374 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3814 3814 | 
             
            		begin
         | 
| 3815 3815 | 
             
            te = p
         | 
| 3816 3816 | 
             
            p = p - 1; begin 
         | 
| @@ -3825,13 +3825,13 @@ p = p - 1; begin | |
| 3825 3825 | 
             
                 end
         | 
| 3826 3826 | 
             
            		end
         | 
| 3827 3827 | 
             
            	when 93 then
         | 
| 3828 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3828 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3829 3829 | 
             
            		begin
         | 
| 3830 3830 |  | 
| 3831 3831 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3832 3832 | 
             
                raise PrematureEndError.new( text )
         | 
| 3833 3833 | 
             
              		end
         | 
| 3834 | 
            -
            # line 394 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3834 | 
            +
            # line 394 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3835 3835 | 
             
            		begin
         | 
| 3836 3836 | 
             
            te = p
         | 
| 3837 3837 | 
             
            p = p - 1; begin 
         | 
| @@ -3856,13 +3856,13 @@ p = p - 1; begin | |
| 3856 3856 | 
             
                 end
         | 
| 3857 3857 | 
             
            		end
         | 
| 3858 3858 | 
             
            	when 29 then
         | 
| 3859 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3859 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3860 3860 | 
             
            		begin
         | 
| 3861 3861 |  | 
| 3862 3862 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 3863 3863 | 
             
                raise PrematureEndError.new( text )
         | 
| 3864 3864 | 
             
              		end
         | 
| 3865 | 
            -
            # line 394 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3865 | 
            +
            # line 394 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3866 3866 | 
             
            		begin
         | 
| 3867 3867 | 
             
             begin p = ((te))-1; end
         | 
| 3868 3868 | 
             
             begin 
         | 
| @@ -3887,13 +3887,13 @@ p = p - 1; begin | |
| 3887 3887 | 
             
                 end
         | 
| 3888 3888 | 
             
            		end
         | 
| 3889 3889 | 
             
            	when 33 then
         | 
| 3890 | 
            -
            # line 139 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3890 | 
            +
            # line 139 "/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 InvalidSequenceError.new('sequence', text)
         | 
| 3895 3895 | 
             
              		end
         | 
| 3896 | 
            -
            # line 370 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3896 | 
            +
            # line 370 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3897 3897 | 
             
            		begin
         | 
| 3898 3898 | 
             
            te = p+1
         | 
| 3899 3899 | 
             
             begin 
         | 
| @@ -3907,17 +3907,17 @@ te = p+1 | |
| 3907 3907 | 
             
                 end
         | 
| 3908 3908 | 
             
            		end
         | 
| 3909 3909 | 
             
            	when 50 then
         | 
| 3910 | 
            -
            # line 146 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3910 | 
            +
            # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3911 3911 | 
             
            		begin
         | 
| 3912 3912 | 
             
             @group_depth -= 1; @in_group = @group_depth > 0 ? true : false 		end
         | 
| 3913 | 
            -
            # line 145 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3913 | 
            +
            # line 145 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3914 3914 | 
             
            		begin
         | 
| 3915 3915 | 
             
             @group_depth += 1; @in_group = true 		end
         | 
| 3916 3916 | 
             
            	when 11 then
         | 
| 3917 | 
            -
            # line 146 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3917 | 
            +
            # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3918 3918 | 
             
            		begin
         | 
| 3919 3919 | 
             
             @group_depth -= 1; @in_group = @group_depth > 0 ? true : false 		end
         | 
| 3920 | 
            -
            # line 540 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3920 | 
            +
            # line 540 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3921 3921 | 
             
            		begin
         | 
| 3922 3922 | 
             
            te = p+1
         | 
| 3923 3923 | 
             
             begin 
         | 
| @@ -3925,10 +3925,10 @@ te = p+1 | |
| 3925 3925 | 
             
                 end
         | 
| 3926 3926 | 
             
            		end
         | 
| 3927 3927 | 
             
            	when 42 then
         | 
| 3928 | 
            -
            # line 146 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3928 | 
            +
            # line 146 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3929 3929 | 
             
            		begin
         | 
| 3930 3930 | 
             
             @group_depth -= 1; @in_group = @group_depth > 0 ? true : false 		end
         | 
| 3931 | 
            -
            # line 607 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3931 | 
            +
            # line 607 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3932 3932 | 
             
            		begin
         | 
| 3933 3933 | 
             
            te = p+1
         | 
| 3934 3934 | 
             
             begin 
         | 
| @@ -3962,7 +3962,7 @@ te = p+1 | |
| 3962 3962 | 
             
            		begin
         | 
| 3963 3963 | 
             
            te = p+1
         | 
| 3964 3964 | 
             
            		end
         | 
| 3965 | 
            -
            # line 145 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3965 | 
            +
            # line 145 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3966 3966 | 
             
            		begin
         | 
| 3967 3967 | 
             
             @group_depth += 1; @in_group = true 		end
         | 
| 3968 3968 | 
             
            	when 75 then
         | 
| @@ -3970,7 +3970,7 @@ te = p+1 | |
| 3970 3970 | 
             
            		begin
         | 
| 3971 3971 | 
             
            te = p+1
         | 
| 3972 3972 | 
             
            		end
         | 
| 3973 | 
            -
            # line 275 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3973 | 
            +
            # line 275 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3974 3974 | 
             
            		begin
         | 
| 3975 3975 | 
             
            act = 18;		end
         | 
| 3976 3976 | 
             
            	when 26 then
         | 
| @@ -3978,7 +3978,7 @@ act = 18;		end | |
| 3978 3978 | 
             
            		begin
         | 
| 3979 3979 | 
             
            te = p+1
         | 
| 3980 3980 | 
             
            		end
         | 
| 3981 | 
            -
            # line 292 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3981 | 
            +
            # line 292 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3982 3982 | 
             
            		begin
         | 
| 3983 3983 | 
             
            act = 20;		end
         | 
| 3984 3984 | 
             
            	when 86 then
         | 
| @@ -3986,7 +3986,7 @@ act = 20;		end | |
| 3986 3986 | 
             
            		begin
         | 
| 3987 3987 | 
             
            te = p+1
         | 
| 3988 3988 | 
             
            		end
         | 
| 3989 | 
            -
            # line 302 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3989 | 
            +
            # line 302 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3990 3990 | 
             
            		begin
         | 
| 3991 3991 | 
             
            act = 21;		end
         | 
| 3992 3992 | 
             
            	when 85 then
         | 
| @@ -3994,7 +3994,7 @@ act = 21;		end | |
| 3994 3994 | 
             
            		begin
         | 
| 3995 3995 | 
             
            te = p+1
         | 
| 3996 3996 | 
             
            		end
         | 
| 3997 | 
            -
            # line 308 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3997 | 
            +
            # line 308 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 3998 3998 | 
             
            		begin
         | 
| 3999 3999 | 
             
            act = 22;		end
         | 
| 4000 4000 | 
             
            	when 2 then
         | 
| @@ -4002,10 +4002,10 @@ act = 22;		end | |
| 4002 4002 | 
             
            		begin
         | 
| 4003 4003 | 
             
            te = p+1
         | 
| 4004 4004 | 
             
            		end
         | 
| 4005 | 
            -
            # line 764 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4005 | 
            +
            # line 764 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4006 4006 | 
             
            		begin
         | 
| 4007 4007 | 
             
            act = 59;		end
         | 
| 4008 | 
            -
            # line 4009 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4008 | 
            +
            # line 4009 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4009 4009 | 
             
            	end
         | 
| 4010 4010 | 
             
            	end
         | 
| 4011 4011 | 
             
            	end
         | 
| @@ -4023,7 +4023,7 @@ ts = nil;		end | |
| 4023 4023 | 
             
            		begin
         | 
| 4024 4024 | 
             
            act = 0
         | 
| 4025 4025 | 
             
            		end
         | 
| 4026 | 
            -
            # line 4027 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4026 | 
            +
            # line 4027 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4027 4027 | 
             
            	end
         | 
| 4028 4028 |  | 
| 4029 4029 | 
             
            	if cs == 0
         | 
| @@ -4045,19 +4045,19 @@ act = 0 | |
| 4045 4045 | 
             
            	end
         | 
| 4046 4046 | 
             
            	  case _re_scanner_eof_actions[cs]
         | 
| 4047 4047 | 
             
            	when 15 then
         | 
| 4048 | 
            -
            # line 53 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
         | 
| 4048 | 
            +
            # line 53 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/property.rl"
         | 
| 4049 4049 | 
             
            		begin
         | 
| 4050 4050 |  | 
| 4051 4051 | 
             
                raise PrematureEndError.new('unicode property')
         | 
| 4052 4052 | 
             
              		end
         | 
| 4053 4053 | 
             
            	when 14 then
         | 
| 4054 | 
            -
            # line 133 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4054 | 
            +
            # line 133 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4055 4055 | 
             
            		begin
         | 
| 4056 4056 |  | 
| 4057 4057 | 
             
                text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
| 4058 4058 | 
             
                raise PrematureEndError.new( text )
         | 
| 4059 4059 | 
             
              		end
         | 
| 4060 | 
            -
            # line 4061 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4060 | 
            +
            # line 4061 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner.rb"
         | 
| 4061 4061 | 
             
            	  end
         | 
| 4062 4062 | 
             
            	end
         | 
| 4063 4063 |  | 
| @@ -4068,7 +4068,7 @@ act = 0 | |
| 4068 4068 | 
             
            end
         | 
| 4069 4069 | 
             
            	end
         | 
| 4070 4070 |  | 
| 4071 | 
            -
            # line 861 "/Users/ammar/src/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4071 | 
            +
            # line 861 "/Users/ammar/src/code/ruby/projects/regexp_parser/lib/regexp_parser/scanner/scanner.rl"
         | 
| 4072 4072 |  | 
| 4073 4073 | 
             
                if cs == re_scanner_error
         | 
| 4074 4074 | 
             
                  text = ts ? copy(data, ts-1..-1) : data.pack('c*')
         | 
    
        data/lib/regexp_parser/syntax.rb
    CHANGED
    
    | @@ -10,7 +10,7 @@ module Regexp::Syntax | |
| 10 10 |  | 
| 11 11 | 
             
              class UnknownSyntaxNameError < SyntaxError
         | 
| 12 12 | 
             
                def initialize(name)
         | 
| 13 | 
            -
                  super "Unknown syntax name '#{name}'"
         | 
| 13 | 
            +
                  super "Unknown syntax name '#{name}'. Forgot to add it in the case statement?"
         | 
| 14 14 | 
             
                end
         | 
| 15 15 | 
             
              end
         | 
| 16 16 |  | 
| @@ -36,7 +36,10 @@ module Regexp::Syntax | |
| 36 36 | 
             
                  ['*', 'any'].include?( name.to_s )
         | 
| 37 37 |  | 
| 38 38 | 
             
                self.load(name)
         | 
| 39 | 
            +
                self.instantiate(name)
         | 
| 40 | 
            +
              end
         | 
| 39 41 |  | 
| 42 | 
            +
              def self.instantiate(name)
         | 
| 40 43 | 
             
                case name
         | 
| 41 44 | 
             
                  # Ruby 1.8.x (NOTE: 1.8.6 is no longer a supported runtime,
         | 
| 42 45 | 
             
                  # but its regex features are still recognized.)
         | 
| @@ -68,6 +71,7 @@ module Regexp::Syntax | |
| 68 71 | 
             
                  when 'ruby/2.1.5';  syntax = Regexp::Syntax::Ruby::V215.new
         | 
| 69 72 | 
             
                  when 'ruby/2.1.6';  syntax = Regexp::Syntax::Ruby::V216.new
         | 
| 70 73 | 
             
                  when 'ruby/2.1.7';  syntax = Regexp::Syntax::Ruby::V217.new
         | 
| 74 | 
            +
                  when 'ruby/2.1.8';  syntax = Regexp::Syntax::Ruby::V218.new
         | 
| 71 75 |  | 
| 72 76 | 
             
                  # aliases for the latest 2.1 implementations
         | 
| 73 77 | 
             
                  when 'ruby/2.1';    syntax = Regexp::Syntax::Ruby::V21.new
         | 
| @@ -77,12 +81,19 @@ module Regexp::Syntax | |
| 77 81 | 
             
                  when 'ruby/2.2.1';  syntax = Regexp::Syntax::Ruby::V221.new
         | 
| 78 82 | 
             
                  when 'ruby/2.2.2';  syntax = Regexp::Syntax::Ruby::V222.new
         | 
| 79 83 | 
             
                  when 'ruby/2.2.3';  syntax = Regexp::Syntax::Ruby::V223.new
         | 
| 84 | 
            +
                  when 'ruby/2.2.4';  syntax = Regexp::Syntax::Ruby::V224.new
         | 
| 80 85 |  | 
| 81 86 | 
             
                  # aliases for the latest 2.2 implementations
         | 
| 82 87 | 
             
                  when 'ruby/2.2';    syntax = Regexp::Syntax::Ruby::V22.new
         | 
| 83 88 |  | 
| 89 | 
            +
                  # Ruby 2.3.x
         | 
| 90 | 
            +
                  when 'ruby/2.3.0';  syntax = Regexp::Syntax::Ruby::V230.new
         | 
| 91 | 
            +
             | 
| 92 | 
            +
                  # alias for the latest 2.3 implementation
         | 
| 93 | 
            +
                  when 'ruby/2.3';    syntax = Regexp::Syntax::Ruby::V23.new
         | 
| 94 | 
            +
             | 
| 84 95 | 
             
                  else
         | 
| 85 | 
            -
                    raise  | 
| 96 | 
            +
                    raise UnknownSyntaxNameError.new(name)
         | 
| 86 97 | 
             
                end
         | 
| 87 98 | 
             
              end
         | 
| 88 99 |  | 
| @@ -1,8 +1,8 @@ | |
| 1 | 
            -
            require File.expand_path('../2.1. | 
| 1 | 
            +
            require File.expand_path('../2.1.8', __FILE__)
         | 
| 2 2 |  | 
| 3 3 | 
             
            module Regexp::Syntax
         | 
| 4 4 | 
             
              module Ruby
         | 
| 5 5 | 
             
                # uses the latest 2.1 release
         | 
| 6 | 
            -
                class V21 < Regexp::Syntax::Ruby:: | 
| 6 | 
            +
                class V21 < Regexp::Syntax::Ruby::V218; end
         | 
| 7 7 | 
             
              end
         | 
| 8 8 | 
             
            end
         | 
| @@ -1,8 +1,8 @@ | |
| 1 | 
            -
            require File.expand_path('../2.2. | 
| 1 | 
            +
            require File.expand_path('../2.2.4', __FILE__)
         | 
| 2 2 |  | 
| 3 3 | 
             
            module Regexp::Syntax
         | 
| 4 4 | 
             
              module Ruby
         | 
| 5 5 | 
             
                # uses the latest 2.2 release
         | 
| 6 | 
            -
                class V22 < Regexp::Syntax::Ruby:: | 
| 6 | 
            +
                class V22 < Regexp::Syntax::Ruby::V224; end
         | 
| 7 7 | 
             
              end
         | 
| 8 8 | 
             
            end
         | 
| @@ -99,10 +99,22 @@ class TestSyntaxFiles < Test::Unit::TestCase | |
| 99 99 | 
             
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V215)
         | 
| 100 100 | 
             
              end
         | 
| 101 101 |  | 
| 102 | 
            +
              def test_syntax_file_2_1_7
         | 
| 103 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.1.7'
         | 
| 104 | 
            +
             | 
| 105 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V216)
         | 
| 106 | 
            +
              end
         | 
| 107 | 
            +
             | 
| 108 | 
            +
              def test_syntax_file_2_1_8
         | 
| 109 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.1.8'
         | 
| 110 | 
            +
             | 
| 111 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V217)
         | 
| 112 | 
            +
              end
         | 
| 113 | 
            +
             | 
| 102 114 | 
             
              def test_syntax_file_2_1_alias
         | 
| 103 115 | 
             
                syntax = Regexp::Syntax.new 'ruby/2.1'
         | 
| 104 116 |  | 
| 105 | 
            -
                assert syntax.kind_of?(Regexp::Syntax::Ruby:: | 
| 117 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V218)
         | 
| 106 118 | 
             
              end
         | 
| 107 119 |  | 
| 108 120 |  | 
| @@ -125,10 +137,34 @@ class TestSyntaxFiles < Test::Unit::TestCase | |
| 125 137 | 
             
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V221)
         | 
| 126 138 | 
             
              end
         | 
| 127 139 |  | 
| 140 | 
            +
              def test_syntax_file_2_2_3
         | 
| 141 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.2.3'
         | 
| 142 | 
            +
             | 
| 143 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V223)
         | 
| 144 | 
            +
              end
         | 
| 145 | 
            +
             | 
| 146 | 
            +
              def test_syntax_file_2_2_4
         | 
| 147 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.2.4'
         | 
| 148 | 
            +
             | 
| 149 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V224)
         | 
| 150 | 
            +
              end
         | 
| 151 | 
            +
             | 
| 128 152 | 
             
              def test_syntax_file_2_2_alias
         | 
| 129 153 | 
             
                syntax = Regexp::Syntax.new 'ruby/2.2'
         | 
| 130 154 |  | 
| 131 | 
            -
                assert syntax.kind_of?(Regexp::Syntax::Ruby:: | 
| 155 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V224)
         | 
| 132 156 | 
             
              end
         | 
| 133 157 |  | 
| 158 | 
            +
              # 2.3 syntax files
         | 
| 159 | 
            +
              def test_syntax_file_2_3_0
         | 
| 160 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.3.0'
         | 
| 161 | 
            +
             | 
| 162 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V22)
         | 
| 163 | 
            +
              end
         | 
| 164 | 
            +
             | 
| 165 | 
            +
              def test_syntax_file_2_3_alias
         | 
| 166 | 
            +
                syntax = Regexp::Syntax.new 'ruby/2.3'
         | 
| 167 | 
            +
             | 
| 168 | 
            +
                assert syntax.kind_of?(Regexp::Syntax::Ruby::V230)
         | 
| 169 | 
            +
              end
         | 
| 134 170 | 
             
            end
         | 
    
        data/test/syntax/test_all.rb
    CHANGED
    
    | @@ -5,6 +5,12 @@ require File.expand_path("../ruby/test_all", __FILE__) | |
| 5 5 | 
             
            class TestSyntax < Test::Unit::TestCase
         | 
| 6 6 |  | 
| 7 7 | 
             
              def test_syntax_unknown_name
         | 
| 8 | 
            +
                assert_raise( Regexp::Syntax::UnknownSyntaxNameError ) {
         | 
| 9 | 
            +
                  Regexp::Syntax.instantiate('ruby/1.0')
         | 
| 10 | 
            +
                }
         | 
| 11 | 
            +
              end
         | 
| 12 | 
            +
             | 
| 13 | 
            +
              def test_syntax_missing_spec
         | 
| 8 14 | 
             
                assert_raise( Regexp::Syntax::MissingSyntaxSpecError ) {
         | 
| 9 15 | 
             
                  RL.scan('abc', 'ruby/1.6')
         | 
| 10 16 | 
             
                }
         | 
    
        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.3. | 
| 4 | 
            +
              version: 0.3.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Ammar Ali
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2016-01-02 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies: []
         | 
| 13 13 | 
             
            description: A library for tokenizing, lexing, and parsing Ruby regular expressions.
         | 
| 14 14 | 
             
            email:
         | 
| @@ -65,12 +65,16 @@ files: | |
| 65 65 | 
             
            - lib/regexp_parser/syntax/ruby/2.1.5.rb
         | 
| 66 66 | 
             
            - lib/regexp_parser/syntax/ruby/2.1.6.rb
         | 
| 67 67 | 
             
            - lib/regexp_parser/syntax/ruby/2.1.7.rb
         | 
| 68 | 
            +
            - lib/regexp_parser/syntax/ruby/2.1.8.rb
         | 
| 68 69 | 
             
            - lib/regexp_parser/syntax/ruby/2.1.rb
         | 
| 69 70 | 
             
            - lib/regexp_parser/syntax/ruby/2.2.0.rb
         | 
| 70 71 | 
             
            - lib/regexp_parser/syntax/ruby/2.2.1.rb
         | 
| 71 72 | 
             
            - lib/regexp_parser/syntax/ruby/2.2.2.rb
         | 
| 72 73 | 
             
            - lib/regexp_parser/syntax/ruby/2.2.3.rb
         | 
| 74 | 
            +
            - lib/regexp_parser/syntax/ruby/2.2.4.rb
         | 
| 73 75 | 
             
            - lib/regexp_parser/syntax/ruby/2.2.rb
         | 
| 76 | 
            +
            - lib/regexp_parser/syntax/ruby/2.3.0.rb
         | 
| 77 | 
            +
            - lib/regexp_parser/syntax/ruby/2.3.rb
         | 
| 74 78 | 
             
            - lib/regexp_parser/syntax/tokens.rb
         | 
| 75 79 | 
             
            - lib/regexp_parser/syntax/tokens/anchor.rb
         | 
| 76 80 | 
             
            - lib/regexp_parser/syntax/tokens/assertion.rb
         | 
| @@ -170,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 170 174 | 
             
                  version: '0'
         | 
| 171 175 | 
             
            requirements: []
         | 
| 172 176 | 
             
            rubyforge_project: 
         | 
| 173 | 
            -
            rubygems_version: 2. | 
| 177 | 
            +
            rubygems_version: 2.5.1
         | 
| 174 178 | 
             
            signing_key: 
         | 
| 175 179 | 
             
            specification_version: 4
         | 
| 176 180 | 
             
            summary: Scanner, lexer, parser for ruby's regular expressions
         |