examples/general/SRL/lib/regex/non_capturing_group.rb in rley-0.5.11 vs examples/general/SRL/lib/regex/non_capturing_group.rb in rley-0.5.12

- old
+ new

@@ -12,13 +12,14 @@ # the matching text is assigned to the capture variable. def initialize(aChildExpression) super(aChildExpression) end - public + protected + # Conversion method re-definition. # Purpose: Return the String representation of the captured expression. - def to_str() + def text_repr() result = '(?:' + all_child_text() + ")" return result end end # class \ No newline at end of file