* fix: update regex to account for bracket notation fix minor bug in regex referring to literal dots with a dot closes #42877 * account for both single and double quotes Co-authored-by: awu43 <46470763+awu43@users.noreply.github.com> * fix: make case sensitive Co-authored-by: Ilenia <nethleen@gmail.com> Co-authored-by: awu43 <46470763+awu43@users.noreply.github.com> Co-authored-by: Ilenia <nethleen@gmail.com>