lib/macros4cuke/templating/engine.rb in macros4cuke-0.5.12 vs lib/macros4cuke/templating/engine.rb in macros4cuke-0.5.13

- old
+ new

@@ -247,10 +247,10 @@ # Parse the contents of a tag entry. # @param aText [String] The text that is enclosed between chevrons. def parse_tag(aText) # Recognize the first character - if aText =~ /^[\?\/]/ + if aText =~ %r{^[\?/]} matching = DisallowedSigns.match(aText[1..-1]) else # Disallow punctuation and delimiter signs in tags. matching = DisallowedSigns.match(aText) end