Sha256: 874a73f83e310160d56192324d551723a5f6d5605d38d19823dad128060c4a60

Contents?: true

Size: 107 Bytes

Versions: 7

Compression:

Stored size: 107 Bytes

Contents

# matchers.fy

match "foobarbaz" {
  case /foo([a-z]+)baz/ -> |matcher|
    matcher[1] println  # => bar
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fancy-0.7.0 examples/matchers.fy
fancy-0.6.0 examples/matchers.fy
fancy-0.5.0 examples/matchers.fy
fancy-0.4.0 examples/matchers.fy
fancy-0.3.3 examples/matchers.fy
fancy-0.3.2 examples/matchers.fy
fancy-0.3.1 examples/matchers.fy