apply change-note suggestions from doc review

Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com>
This commit is contained in:
Erik Krogh Kristensen
2023-02-08 14:55:54 +01:00
committed by GitHub
parent eb564760be
commit 3ebac65167

View File

@@ -1,5 +1,5 @@
---
category: newQuery
---
* Added a new query, `rb/regex/badly-anchored-regexp` to detect regular expression validators that use `^` and `$`
as anchors and thus might match a single line instead of the entire string.
* Added a new query, `rb/regex/badly-anchored-regexp`, to detect regular expression validators that use `^` and `$`
as anchors and therefore might match only a single line of a multi-line string.