lineparser 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4af1e0f316bddea01b7275cc62221c672642bc49
4
- data.tar.gz: b16925913fcbe8839c44c737f33efe75e66b15c8
3
+ metadata.gz: 45e01752602b04fa7770bfd2595925279f7f43cb
4
+ data.tar.gz: 0accd073a255469e5386cc39a938e4d1bce96bc9
5
5
  SHA512:
6
- metadata.gz: 3c112365ce4e13ba16c27bc1230658607486c1bd1e6a8de61b2637f71491d053457a411bc10fb8e32237ffce9ab500f5433144d8ec644e895f8c3040d7d72f77
7
- data.tar.gz: 9dc88b0b2baca0144b99c36ea3759607ce8851bbc6f61bcd1b8829a0ebee063845bb9e36e45d3b3b91a01ae062176c9280d40b961c5aeca3e61f288d0520b9cc
6
+ metadata.gz: bb7698126e6bf9891e146cde07b6640b101543cdb194b055f2087eb44c1fc25818ef9f7b007407c7d09fd5d2cbd3967b8e2b36be68f36466a840d0d23ba3d3ad
7
+ data.tar.gz: dcd92c82a9ada1b094f726cc5e9ee794bee50120b4f59f5ecd4e095a1a706f9be03346f74656f27336bacfead090e31d39cf7c0aba18373c74776c97329c3b27
Binary file
data.tar.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- f`<uw�2tZZ�����2�=��78����8E{%��ؘ��y����"H��Q���
2
- �]��_jD^��)@�o̷�vx|^�SKN[z���!�M�y��gr��_�U��A��ý��f�Kp"(
3
- P�FS�QI��y���3��2u��>LǺ(�o�0ۗ{r�vMΓ�ݾ�3
4
- �$ڟ�H����#}-)֩O��7��� �o$H�0)�[�Ӂ�xk^�U � mND�7��*��f9+f�%��ܣO (�
1
+ y�~��~��w����S��jto�2ʢ��8LNk���01���Ĭ��C]�sT{� ��ل$��V4�*�4ˆY��q�H��i"*3����6f�Ï�@�Y��9�M@|jC�"%��鼅݃_˪����щ�*N��Ӥ_�7�����2Qv�K�,gL(H9;R�Y���N��;򳡯^
2
+ VWB E�� �f�?ݸ ~��]IfC9�0V���2�Cr�,�����:T�ׯ�J�wF��{t\���m���s�^<
@@ -14,6 +14,8 @@ class LineParser
14
14
  String: lambda do |s, pattern|
15
15
 
16
16
  labels = []
17
+
18
+ pattern.gsub!(/\+/,"\+")
17
19
  r = s.match(/#{pattern.gsub(/:\w+/) {|x| labels << x; '(\\w+)'}}/)
18
20
 
19
21
  if r then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lineparser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file