mirror of
https://github.com/securego/gosec.git
synced 2025-11-29 22:37:59 +02:00
There are some cases where the '.' character would also match any character and could lead to incorrect results. For example the regular expression - `^ioutils.WriteFile$' would match ioutils.WriteFile, but also ioutils_WriteFile. Additionally made sure that all regexp were declared using raw strings to avoid any unnecesary string escaping that potentially make the regexp difficult to read.
1.5 KiB
1.5 KiB