mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-21 18:44:00 +08:00
Remove unnecessary Regex constraint
This commit is contained in:
@@ -30,7 +30,7 @@ import Text.Regex.TDFA
|
|||||||
-- Precompile the regex
|
-- Precompile the regex
|
||||||
mkRegex :: String -> Regex
|
mkRegex :: String -> Regex
|
||||||
mkRegex str =
|
mkRegex str =
|
||||||
let make :: RegexMaker Regex CompOption ExecOption String => String -> Regex
|
let make :: String -> Regex
|
||||||
make = makeRegex
|
make = makeRegex
|
||||||
in
|
in
|
||||||
make str
|
make str
|
||||||
|
Reference in New Issue
Block a user