This file is intended to explain the details of how a specific regular expression works. This particular regular expression is used to match a HEX value. The description below will detail each component of the regular expression and how it works.
We will be evaluating the following regular expressions used to match HEX values:
/^#?([a-f0-9]{6}|[a-f0-9]{3})$/