================
@@ -20,7 +20,7 @@
 
 # Main header regexes
 INCLUDE_FILENAME_REGEX = re.compile(
-    r'#include "lldb/API/(?P<include_filename>.*){0,1}"'
+    r'#include "lldb/(API/){0,1}(?P<include_filename>.*){0,1}"'
----------------
bulbazord wrote:

I'm not an expert on regex but would it make sense to use `?` here instead of 
`{0,1}`?

https://github.com/llvm/llvm-project/pull/145961
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to