Examples and explanation for javascript regular expression (x), decimal point, and word boundary
<p>Can someone give a better explanation for these special characters examples in <a href="https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions" rel="nofollow">here</a>? Or provide some clearer examples?</p>

<p><strong>(x)</strong>  </p>

<blockquote>
  <p>The '(foo)' and '(bar)' in the pattern /(foo) (bar) \1 \2/ match and
  remember the first two words in the string "foo bar foo bar". The \1
  and \2 in the pattern match the string's last two words.</p>
</blockquote>

<p><strong>decimal point</strong></p>

<blockquote>
  <p>For example, /.n/ matches 'an' and 'on' in "nay, an apple is on the
  tree", but not 'nay'.</p>
</blockquote>

<p><strong>Word boundary \b</strong></p>

<blockquote>
  <p>/\w\b\w/ will never match anything, because a word character can never
  be followed by both a non-word and a word character.</p>
</blockquote>

<p><strong>non word boundary \B</strong>  </p>

<blockquote>
  <p>/\B../ matches 'oo' in "noonday" (, and /y\B./ matches 'ye' in
  "possibly yesterday."
  totally having no idea what the above example is showing :(</p>
</blockquote>

<p>Much thanks! </p>
