step_master 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/step_master.rb CHANGED
@@ -4,5 +4,5 @@ $:.unshift(File.dirname(__FILE__)) unless
4
4
  require 'step_master/matcher'
5
5
 
6
6
  module StepMaster
7
- VERSION = '0.0.4'
7
+ VERSION = '0.0.5'
8
8
  end
@@ -22,7 +22,7 @@ module StepMaster
22
22
 
23
23
  STEP_REGEX = /^\s*(Given|Then|When)\s*\(?\s*\/\^?(.*)\/(\w*)\s*\)?\s*(?:do|\{)\s*(\|[^\|]+\|)?/.freeze
24
24
  ARG_NAMES_REGEX = /\|(.*)\|/
25
- ARG_TEXT_REGEX = /\(.*?[^\\]\)\??/
25
+ ARG_TEXT_REGEX = /\(.*?[^\\]\)[\?\+\*]?/
26
26
  NON_CAPTURE_REGEX = /\(\?\:/
27
27
  CHUNK_REGEX = /\S+|\s\??/
28
28
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: step_master
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Holmes