Commit 95f6e5c5 authored by Pouya Kary's avatar Pouya Kary

full word boundary documentation

parent 157c7b9c
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -795,6 +795,39 @@
<img src="blocks/word-boundary.svg">
</div>
</div>
<div class="row">
<div class="column text">
<h3>Example 1</h3>
<p>
When this Orchestra matches the <code>"hello world"</code> string it remembers 3 groups: <code>h</code>, <i>the space between hello and world</i> and <code>w</code>
</p>
</div>
<div class="column block">
<img src="blocks/ex-boundary-1.svg">
</div>
</div>
<div class="row">
<div class="column text">
<h3>Example 2</h3>
<p>
This Orchestra does not match the string: <code>"foobar"</code> because foo is followed by <code>b</code> which is a counted as a <b>word</b> character.
</p>
</div>
<div class="column block">
<img src="blocks/ex-boundary-2.svg">
</div>
</div>
<div class="row">
<div class="column text">
<h3>Example 3</h3>
<p>
This Orchestra will never match anything because it's impossible for a word boundary to exist between two words
</p>
</div>
<div class="column block">
<img src="blocks/ex-boundary-3.svg">
</div>
</div>
</div>
......
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