Skip to content

Commit

Permalink
Add glob_ex example (wojtekmach#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickNeck authored May 25, 2023
1 parent 8568abc commit f2c0d00
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions glob_ex.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Mix.install([
{:glob_ex, "~> 0.1"}
])

defmodule Example do
import GlobEx.Sigils

def run do
GlobEx.ls(~g|e*.exs|) |> dbg()
GlobEx.match?(~g|*.ex|, "glob_ex.exs") |> dbg()
end
end

Example.run()

0 comments on commit f2c0d00

Please sign in to comment.