Add missing brackets to the regex. Before, the caret and dollar sign symbols were not applied to the whole string but to either side of the `|` symbol.
Add missing brackets to the regex. Before, the caret and dollar sign symbols were not applied to the whole string but to either side of the `|` symbol.