Sha256: 60d657b416d4c512df2d0dbf8f378c04eba12e38cb9c70ce8237f5110b49b549

Contents?: true

Size: 298 Bytes

Versions: 2

Compression:

Stored size: 298 Bytes

Contents

## MatchData#matchtree

    require 'facets/matchdata/matchtree'

    md = /(bb)(cc(dd))(ee)/.match "XXaabbccddeeffXX"
    md.matchtree.assert == [["bb"], ["cc", ["dd"]], ["ee"]]

    md = /(bb)c(c(dd))(ee)/.match "XXaabbccddeeffXX"
    md.matchtree.assert == [["bb"], "c", ["c", ["dd"]], ["ee"]]

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 demo/core/matchdata/matchtree.md
facets-3.1.0 demo/core/matchdata/matchtree.md