title: Regex validate with last character
body: <p>Having regex patter like this: <code>ab*d</code> why does it return match true for input <code>abbbde</code> ? How to change it to check also last character ? </p>