Commit c5fd6e40 authored by twanvl's avatar twanvl

Some more examples for break_text

parent 53175119
......@@ -29,6 +29,8 @@ In fact, @filter_text@ could be implemented as
> break_text(match: "a", "banana") == ["a","a","a"]
> break_text(match: "na|.", "banana") == ["b","a","na","na"]
> break_text(match: "ap", "banana") == []
> break_text(match: "/", "a/b/c") == ["/","/"]
> break_text(match: "[^/]+", "a/b/c") == ["a","b","c"]
>
> f := break_rule(match: "xx+")
> f("xyzxxxxyyzz") == ["xxxx"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment