We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25c102a + b76b002 commit 1562ee7Copy full SHA for 1562ee7
lib/network_utils.ml
@@ -246,7 +246,7 @@ module Sysfs = struct
246
try
247
Sys.readdir ("/sys/bus/pci/drivers/" ^ driver)
248
|> Array.to_list
249
- |> List.filter (Re.execp (Re.Perl.compile_pat "\\d+:[a-f\\d]+:[a-f\\d]+\\.\\d+"))
+ |> List.filter (Re.execp (Re.Perl.compile_pat {|\d+:[a-f\d]+:[a-f\d]+\.\d|}))
250
|> List.length
251
with _ -> 0
252
0 commit comments