We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84fc413 commit 78941c0Copy full SHA for 78941c0
internal/arduino/builder/internal/detector/detector.go
@@ -478,7 +478,7 @@ func (l *SketchLibrariesDetector) failIfImportedLibraryIsWrong() error {
478
}
479
480
// includeRegexp fixdoc
481
-var includeRegexp = regexp.MustCompile("(?ms)^\\s*#[ \t]*include\\s*[<\"](\\S+)[\">]")
+var includeRegexp = regexp.MustCompile(`(?ms)[<"'](\S+)[">']`)
482
483
// IncludesFinderWithRegExp fixdoc
484
func IncludesFinderWithRegExp(source string) string {
0 commit comments