Code Inspection: Begin or end anchor in unexpected position
\A anchors not at the beginning of the pattern and
\z anchors not at the end of the pattern.In the wrong position these RegExp anchors prevent the pattern from matching anything.In case of the
$ anchors, most likely the literal character was meant and the escape forgotten.
New in 2018.1