Angular 2 reactive form validate pattern for number with two decimal places : <p>I am trying to validate an input on an angular 2 reactive form so that only numbers with two decimal places are valid.</p>

<p>I am using the <code>Validators.pattern('^\d+\.\d{2}$')</code> method to match against a regex pattern.  According to <a href="https://regex101.com/r/1DbMZq/1" rel="noreferrer">https://regex101.com/r/1DbMZq/1</a> my regex matches correctly but when I use it in my form it is always invalid.</p>

<p>Here is a plunker illustrating the problem: <a href="https://plnkr.co/edit/TpBZtgNNww4CnTwQFtef?p=preview" rel="noreferrer">https://plnkr.co/edit/TpBZtgNNww4CnTwQFtef?p=preview</a></p>

<p>Any ideas what I'm doing wrong?</p>
