In my angular 2 app I'm using HTML pattern='' to validate a user input.
Validation.component.html
<input type="text" pattern='[A-Za-z0-9_.\-"()#:{}\\ ]+' required>
This is pretty much the breakdown of my current input field. My problem now is that I also want to allow the input of an '.
If I use pattern='[A-Za-z0-9_.\-"()#:{}\\ ']+' I will get an error because I already use ' for the pattern='' marker.
How can I fix this or can do the trick with an workaround?